Python Types

Open-source Python projects categorized as Types

Top 18 Python Type Projects

  1. mypy

    Optional static typing for Python

    Project mention: Ty: An fast Python type checker and language server, written in Rust | news.ycombinator.com | 2025-05-07

    https://github.com/python/mypy/blob/501a07b45af8e44eda665e53...

    Also did you know mypy ignores typing of class decorators? You simply can't return a different type other than type[thisclass].

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. pytype

    A static type analyzer for Python code

    Project mention: Writing that changed how I think about PL | news.ycombinator.com | 2025-05-14

    pytype is based in part upon byterun https://github.com/google/pytype/blob/main/docs/developers/i...

    I learnt a lot about bytecode interpreters from working on it, and it helped me understand the cpython source code a lot more easily from having played with a python translation of it first.

  4. typeshed

    Collection of library stubs for Python, with static types

  5. Schematics

    Python Data Structures for Humansβ„’.

  6. typing

    Python static typing home. Hosts the documentation and a user help forum.

    Project mention: Ty: An fast Python type checker and language server, written in Rust | news.ycombinator.com | 2025-05-07

    Two examples that come to mind are: https://discuss.python.org/t/pep-692-using-typeddict-for-mor...

    and: https://github.com/python/typing/issues/1252

  7. sqlalchemy-stubs

    Mypy plugin and stubs for SQLAlchemy

  8. typed-argument-parser

    Typed argument parser for Python

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. traits

    Observable typed attributes for Python classes (by enthought)

  11. pyanalyze

    A Python type checker

  12. lagom

    πŸ“¦ Autowiring dependency injection container for python 3 (by meadsteve)

  13. pfun

    Functional, composable, asynchronous, type-safe Python.

  14. celery-types

    :seedling: Type stubs for Celery and its related packages

  15. Maat

    Validation and transformation library powered by recursive descent validation algorithm. Made to be extended for any kind of project.

  16. compressio

    Lossless in-memory compression of pandas DataFrames and Series powered by the visions type system. Up to 10x less RAM needed for the same data.

  17. Poly

    A Fluid, PolyMorphic,and shapeless Types Package that activates radically flexiblity and simplicity in your programs (by kyegomez)

  18. db-introspector-gadget

    This is a CLI tool that can introspect MySQL or Postgres databases and generate a python file that contains TypedDict definitions for the tables and columns in the provided database schema.

  19. thsl

    thsl: A typed configuration language.

  20. typebuf

    Dead simple way to create shared type definitions between applications

  21. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Python Types discussion

Log in or Post with

Python Types related posts

  • Ty: An fast Python type checker and language server, written in Rust

    11 projects | news.ycombinator.com | 7 May 2025
  • Mypy – an optional static type checker for Python

    1 project | news.ycombinator.com | 18 Apr 2025
  • You Need Subtyping

    1 project | news.ycombinator.com | 29 Mar 2025
  • Astral – "We're building a new static type checker for Python"

    17 projects | news.ycombinator.com | 29 Jan 2025
  • Python Type System Conformance Test Results

    3 projects | news.ycombinator.com | 29 Nov 2024
  • Duck Typing Meets Type Hints: Using Protocols in Python

    1 project | dev.to | 30 Jul 2024
  • Free-threaded CPython is ready to experiment with

    5 projects | news.ycombinator.com | 12 Jul 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Index

What are some of the best open-source Type projects in Python? This list will help you:

# Project Stars
1 mypy 19,494
2 pytype 4,904
3 typeshed 4,731
4 Schematics 2,586
5 typing 1,664
6 sqlalchemy-stubs 575
7 typed-argument-parser 572
8 traits 454
9 pyanalyze 369
10 lagom 318
11 pfun 150
12 celery-types 109
13 Maat 30
14 compressio 28
15 Poly 9
16 db-introspector-gadget 1
17 thsl 1
18 typebuf 0

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?