Python Mypy

Open-source Python projects categorized as Mypy

Top 23 Python Mypy Projects

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Project mention: GitHub Accelerator: our first cohort and what's next | | 2023-04-13

    - A GraphQL library for Python that leverages type annotations

  • returns

    Make your functions return something meaningful, typed, and safe!

    Project mention: GitHub - dry-python/returns: Make your functions return something meaningful, typed, and safe! | | 2023-05-10
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • refurb

    A tool for refurbishing and modernizing Python codebases (by dosisod)

    Project mention: A tool for refurbishing and modernizing Python codebases | | 2022-09-29
  • django-stubs

    PEP-484 stubs for Django

    Project mention: Boring Python: Code Quality | | 2022-12-20

    You can annotate the manager and get some typing help in the editor. And there’s django-stubs which helps a little when running mypy. It’s not as good as pycharm though.

  • nbQA

    Run ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks

    Project mention: Jupyter lab code formatter? | | 2023-05-14
  • classes

    Smart, pythonic, ad-hoc, typed polymorphism for Python

  • Deal

    Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.

    Project mention: What features would you want in a new programming language? | | 2023-01-03

    I started using a design by contract library for a Python project this year and it made my code safer and easier to use.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • sqlalchemy-stubs

    Mypy plugin and stubs for SQLAlchemy

  • aiomonitor

    aiomonitor is module that adds monitor and python REPL capabilities for asyncio application

    Project mention: [Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars | | 2023-04-29

    Try aiomonitor

  • mypy_boto3_builder

    Type annotations builder for boto3 compatible with VSCode, PyCharm, Emacs, Sublime Text, pyright and mypy.

    Project mention: Enable Autocomplete for boto3 in VSCode | | 2022-05-31

    So... what are we going to do about this? Fortunately, some clever and dedicated people have created a solution that is now easy to use. The boto3-stubs module (Github) can be used to enable Autocomplete. The relatively new VSCode extension for boto3 makes using the library simpler than ever. Let's dive in. First, we'll create a working directory with a new virtual environment.

  • nitpick

    Enforce the same settings on multiple projects

  • ancv

    Renders your (JSON) resume/CV for online & pretty terminal display

    Project mention: Ask HN: Those making $0/month or less on side projects – Show and tell | | 2023-01-27


    Idea: renders your resume as pretty terminal output. Others can view it in their own terminals:

        curl -L

  • typedload

    Python library to load dynamically typed data into statically typed data structures

    Project mention: Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19 | | 2023-03-06

    Author of typedload here!

    FastAPI relies on (not so fast) pydantic, which is one of the slowest libraries in that category.

    Don't expect to find such benchmarks on the pydantic documentation itself, but the competing libraries will have them.


  • cachew

    Transparent and persistent cache/serialization powered by type hints

  • Wagtail-Pipit

    Pipit is a Wagtail CMS boilerplate which aims to provide an easy and modern developer workflow with a React-rendered frontend.

  • lagom

    📦 Autowiring dependency injection container for python 3 (by meadsteve)

    Project mention: Making python fast for free - adventures with mypyc | | 2022-09-27

    Here we go. The full diff focused on getting the build compiling:

  • phantom-types

    Phantom types for Python.

    Project mention: Sunday Daily Thread: What's everyone working on this week? | | 2022-10-09

    I've written and published about a static type checking technique and a library of mine that implements it: phantom-types.

  • pfun

    Functional, composable, asynchronous, type-safe Python.

  • mmpm

    MagicMirror Package Manager

  • docopt-ng

    Humane command line arguments parser. Now with maintenance, typehints, and complete test coverage.

    Project mention: Clipboard - the missing cut, copy and paste system for the terminal | | 2022-12-26

    I like the idea of docopt but looks like it is no longer maintained unfortunately: However others are carrying it forward at

  • pandas-stubs

    Pandas type stubs. Helps you type-check your code. (by VirtusLab)

  • infer-types

    A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.

    Project mention: infer-types: A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code. | | 2023-02-07
  • option

    Rust like Option and Result types in Python (by MaT1g3R)

    Project mention: Personally I have to go with nil | | 2023-02-06

    Should be pretty straightforward to implement.

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

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-05-14.

Python Mypy related posts


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

Project Stars
1 strawberry 3,224
2 returns 2,761
3 refurb 2,244
4 django-stubs 1,196
5 nbQA 784
6 classes 587
7 Deal 544
8 sqlalchemy-stubs 541
9 aiomonitor 527
10 mypy_boto3_builder 378
11 nitpick 345
12 ancv 196
13 typedload 189
14 cachew 189
15 Wagtail-Pipit 189
16 lagom 186
17 phantom-types 154
18 pfun 140
19 mmpm 133
20 docopt-ng 121
21 pandas-stubs 114
22 infer-types 62
23 option 60
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.