Alternatives to Pyright logo

Alternatives to Pyright

Pylint, TypeScript, CoffeeScript, Flow (JS), and Sorbet are the most popular alternatives and competitors to Pyright.
15
29
+ 1
0

What is Pyright and what are its top alternatives?

Typically 5x or more faster than mypy and other type checkers that are written in Python. It is meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.
Pyright is a tool in the Static Type Checkers category of a tech stack.
Pyright is an open source tool with 8K GitHub stars and 468 GitHub forks. Here’s a link to Pyright's open source repository on GitHub

Top Alternatives to Pyright

  • Pylint
    Pylint

    It is a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions. ...

  • TypeScript
    TypeScript

    TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript. ...

  • CoffeeScript
    CoffeeScript

    It adds syntactic sugar inspired by Ruby, Python and Haskell in an effort to enhance JavaScript's brevity and readability. Specific additional features include list comprehension and de-structuring assignment. ...

  • Flow (JS)
    Flow (JS)

    Flow is a static type checker for Javascript created by Facebook.

  • Sorbet
    Sorbet

    It is 100% compatible with Ruby. It type checks normal method definitions, and introduces backwards-compatible syntax for method signatures. Explicit method signatures make it useful for anyone reading the code. Type annotations serve as a tool for understanding long after they're written. ...

Pyright alternatives & related posts

Pylint logo

Pylint

312
73
9
Source-code, bug and quality checker for the Python programming language
312
73
+ 1
9
PROS OF PYLINT
  • 1
    FOSS
  • 1
    IDE Integration
  • 1
    Pre-commit checks
  • 1
    Standards
  • 1
    Hints to improve code
  • 1
    Code score & directions
  • 1
    Spell Check strings & comments
  • 1
    Check both committed & Uncommitted code
  • 1
    Command Line
CONS OF PYLINT
    Be the first to leave a con

    related Pylint posts

    TypeScript logo

    TypeScript

    63.4K
    48.9K
    463
    A superset of JavaScript that compiles to clean JavaScript output
    63.4K
    48.9K
    + 1
    463
    PROS OF TYPESCRIPT
    • 163
      More intuitive and type safe javascript
    • 97
      Type safe
    • 73
      JavaScript superset
    • 46
      The best AltJS ever
    • 27
      Best AltJS for BackEnd
    • 14
      Powerful type system, including generics & JS features
    • 10
      Nice and seamless hybrid of static and dynamic typing
    • 9
      Aligned with ES development for compatibility
    • 9
      Compile time errors
    • 6
      Structural, rather than nominal, subtyping
    • 5
      Angular
    • 3
      Starts and ends with JavaScript
    • 1
      Garbage collection
    CONS OF TYPESCRIPT
    • 4
      Code may look heavy and confusing
    • 3
      Hype

    related TypeScript posts

    Yshay Yaacobi

    Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

    Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

    After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

    See more
    Adebayo Akinlaja
    Engineering Manager at Andela · | 27 upvotes · 1.1M views

    I picked up an idea to develop and it was no brainer I had to go with React for the frontend. I was faced with challenges when it came to what component framework to use. I had worked extensively with Material-UI but I needed something different that would offer me wider range of well customized components (I became pretty slow at styling). I brought in Evergreen after several sampling and reads online but again, after several prototype development against Evergreen—since I was using TypeScript and I had to import custom Type, it felt exhaustive. After I validated Evergreen with the designs of the idea I was developing, I also noticed I might have to do a lot of styling. I later stumbled on Material Kit, the one specifically made for React . It was promising with beautifully crafted components, most of which fits into the designs pages I had on ground.

    A major problem of Material Kit for me is it isn't written in TypeScript and there isn't any plans to support its TypeScript version. I rolled up my sleeve and started converting their components to TypeScript and if you'll ask me, I am still on it.

    In summary, I used the Create React App with TypeScript support and I am spending some time converting Material Kit to TypeScript before I start developing against it. All of these components are going to be hosted on Bit.

    If you feel I am crazy or I have gotten something wrong, I'll be willing to listen to your opinion. Also, if you want to have a share of whatever TypeScript version of Material Kit I end up coming up with, let me know.

    See more
    CoffeeScript logo

    CoffeeScript

    2.5K
    1.2K
    1K
    A little language that compiles into JavaScript
    2.5K
    1.2K
    + 1
    1K
    PROS OF COFFEESCRIPT
    • 198
      Easy to read
    • 179
      Faster to write
    • 126
      Syntactic sugar
    • 104
      Readable
    • 104
      Elegant
    • 73
      Pretty
    • 53
      Javascript the good parts
    • 48
      Open source
    • 44
      Classes
    • 35
      "it's just javascript"
    • 16
      Compact code
    • 15
      Easy
    • 13
      Simple
    • 13
      Not Javascript
    • 2
      Does the same with less code
    • 1
      I'm jobs I'm software engineer
    CONS OF COFFEESCRIPT
    • 2
      No ES6
    • 1
      Corner cases in syntax
    • 1
      Parentheses required in 0-ary function calls
    • 1
      Unclear what will be grouped to {…}

    related CoffeeScript posts

    Jake Stein

    Stitch’s frontend is used to configure data sources and destinations and monitor the status of each. Although we have been using AngularJS since its early days, we recently introduced React components into our front end, which many of our developers find easier to work with. We started using CoffeeScript when it was one of the few options for a more expressive alternative to vanilla JavaScript, but today we opt to instead write new code in ES6, which we feel is a more mature alternative.

    See more
    Eli Hooten

    We chose TypeScript at Codecov when undergoing a recent rewrite of a legacy front end. Our previous front end was a mishmash of vanilla JavaScript and CoffeeScript , and was expanded upon haphazardly as the need arose. Without a unifying set of paradigms and patterns, the CoffeeScript and JavaScript setup was proving hard to maintain and expand upon by an engineering team. During a move to Vue.js , we decided to also make the move to TypeScript. Integrating TypeScript and Vue.js is fairly well understood at this point, so the setup wasn't all that difficult, and we felt that the benefits of incorporating TypeScript would outweigh the required time to set it up and get our engineering team up to speed.

    Choosing to add TypeScript has given us one more layer to rely on to help enforce code quality, good standards, and best practices within our engineering organization. One of the biggest benefits for us as an engineering team has been how well our IDEs and editors (e.g., Visual Studio Code ) integrate with and understand TypeScript . This allows developers to catch many more errors at development time instead of relying on run time. The end result is safer (from a type perspective) code and a more efficient coding experience that helps to catch and remove errors with less developer effort.

    See more
    Flow (JS) logo

    Flow (JS)

    153
    73
    0
    Flow is a static type checker for Javascript (by Facebook)
    153
    73
    + 1
    0
    PROS OF FLOW (JS)
      Be the first to leave a pro
      CONS OF FLOW (JS)
        Be the first to leave a con

        related Flow (JS) posts

        Shared insights
        on
        TypeScriptTypeScriptFlow (JS)Flow (JS)

        I use TypeScript because it isn't just about validating the types I'm expecting to receive though that is a huge part of it too. Flow (JS) seems to be a type system only. TypeScript also allows you to use the latest features of JavaScript while also providing the type checking. To be fair to Flow (JS), I have not used it, but likely wouldn't have due to the additional features I get from TypeScript.

        See more
        David Koblas
        VP Engineering at Payment Rails · | 9 upvotes · 97.3K views

        We originally (in 2017) started rewriting our platform from JavaScript to Flow (JS) but found the library support for Flow was lacking. After switching gears to TypeScript we've never looked back. At this point we're finding that frontend and backend libraries are supporting TypeScript out of the box and where the support is missing that the commuity is typically got a solution in hand.

        See more
        Sorbet logo

        Sorbet

        8
        6
        0
        A powerful type checker designed for Ruby
        8
        6
        + 1
        0
        PROS OF SORBET
          Be the first to leave a pro
          CONS OF SORBET
            Be the first to leave a con

            related Sorbet posts