Statically typed Python

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • pydantic

    Data validation using Python type hints

    maybe take a look at Pydantic

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • typeguard

    Run-time type checker for Python

    Personally I find working around mypy's quirks to be more effort than it's worth, so to offer another option: typeguard or beartype can be used to perform run-time type checking.

  • beartype

    Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.

    Personally I find working around mypy's quirks to be more effort than it's worth, so to offer another option: typeguard or beartype can be used to perform run-time type checking.

  • pyre-check

    Performant type-checking for python.

    Facebook/Instagram uses Pyre which is a typechecker for Python.

  • mypyc

    Compile type annotated Python to fast C extensions

  • mypyc-benchmark-results

    Mypyc benchmark result data

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: Will we see a TypeScript for Python?

    2 projects | news.ycombinator.com | 26 Feb 2023
  • Tests aren’t enough: Case study after adding type hints to urllib3

    4 projects | news.ycombinator.com | 18 Oct 2021
  • Setting up `pre-commit` in a Django project

    4 projects | dev.to | 28 Jun 2024
  • JSON extra uses orjson instead of ujson

    4 projects | news.ycombinator.com | 5 Jun 2024
  • This Week In Python

    5 projects | dev.to | 10 May 2024

Did you konow that Python is
the 1st most popular programming language
based on number of metions?