Python Static Type Checker

Open-source Python projects categorized as Static Type Checker

Python Static Type Checker Projects

  • mypy

    Optional static typing for Python

    Project mention: It's Time for a Change: Datetime.utcnow() Is Now Deprecated | | 2023-11-19

    It's funny you should say this.

    Reading this article prompted me to future-proof a program I maintain for fun that deals with time; it had one use of utcnow, which I fixed.

    And then I tripped over a runtime type problem in an unrelated area of the code, despite the code being green under "mypy --strict". (and "100% coverage" from tests, except this particular exception only occured in a "# pragma: no-cover" codepath so it wasn't actually covered)

    It turns out that because of some core decisions about how datetime objects work, ` <` type-checks but gives a TypeError at runtime. Oops. (cause discussed at length in but without action for 3 years)

    One solution is apparently to use `datetype` for type annotations (while continuing to use `datetime` objects at runtime):

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-19.

Python Static Type Checker related posts


Project Stars
1 mypy 16,822
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives