Python Mypy

Open-source Python projects categorized as Mypy

Top 23 Python Mypy Projects

  1. strawberry

    A GraphQL library for Python that leverages type annotations πŸ“

  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. returns

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

    Project mention: Top FP technologies | dev.to | 2024-10-29

    Python is not functional language itself. And as I can relate does not want to be: look at lambda for instance. But this package allows to write more robust applications. Link to lib: GitHub - dry-python/returns: Make your functions return something meaningful, typed, and safe!

  4. refurb

    A tool for refurbishing and modernizing Python codebases

    Project mention: How to review as a Pro | dev.to | 2024-06-18

    A linter can’t solve all our problems with incorrect or non-idiomatic usage of language constructs. There are some supporting tools for this purpose, like refurb for Python. However, these tools usually only help with simple concepts. It's important to follow good practices, and mentor your colleagues to do so. Like not storing passwords and credentials in your code. In the age of fast developing AI-tools, there certainly will be better instruments to help us with these tasks. For now, we still need to check suggested options for correctness and can’t blindly trust any information provided by LLM tools. We certainly can ask ChatGPT about some things, but sometimes you just need to know what to ask about before compiling a question. So knowledge sharing is still in demand.

  5. whenever

    ⏰ Modern datetime library for Python (by ariebovenberg)

    Project mention: Whenever – typed and DST-safe datetimes for Python | news.ycombinator.com | 2025-04-13

    [2] https://github.com/ariebovenberg/whenever/issues/204#issueco...

  6. django-stubs

    PEP-484 stubs for Django

    Project mention: Plain – a web framework for building products with Python | news.ycombinator.com | 2025-03-28

    Relatedly, in case it's useful, the django-stubs package provides mypy compatible type stubs for Django:

    https://github.com/typeddjango/django-stubs

  7. result

    NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated. (by rustedpy)

  8. nbQA

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

  9. SaaSHub

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

    SaaSHub logo
  10. Deal

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

  11. classes

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

  12. aiomonitor

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

  13. python-blueprint

    🐍 Example Python project using best practices πŸ₯‡

  14. mypy_boto3_builder

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

  15. sqlalchemy-stubs

    Mypy plugin and stubs for SQLAlchemy

  16. nitpick

    Enforce the same settings on multiple projects

  17. lagom

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

  18. ancv

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

  19. Wagtail-Pipit

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

  20. cachew

    Transparent and persistent cache/serialization powered by type hints

  21. mmpm

    MagicMirror Package Manager

  22. phantom-types

    Phantom types for Python.

  23. micropython-stubber

    Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or MyPy

  24. textcase

    Python library for text case conversions

    Project mention: Show HN: Textcase: A Python Library for Text Case Conversion | news.ycombinator.com | 2025-04-01
  25. docopt-ng

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

    Project mention: Argdown, like Markdown for argument mapping | news.ycombinator.com | 2024-08-07

    FWIW, there seems to be a less-abandoned fork here: https://github.com/jazzband/docopt-ng

    I'm sticking with argparse though

  26. 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 Mypy discussion

Log in or Post with

Python Mypy related posts

  • Whenever – typed and DST-safe datetimes for Python

    7 projects | news.ycombinator.com | 13 Apr 2025
  • Typed and DST-safe datetimes for Python, available in Rust or pure Python

    1 project | news.ycombinator.com | 26 Jan 2025
  • Mypy-baseline: make Mypy report only new violations

    1 project | news.ycombinator.com | 27 Nov 2024
  • How to review as a Pro

    2 projects | dev.to | 18 Jun 2024
  • infer-types: A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.

    1 project | /r/coding | 7 Feb 2023
  • mypy-baseline: Integrate mypy in seconds with existing codebase. A friendly CLI tool to make mypy report only new type violations and ignore existing ones.

    1 project | /r/coolgithubprojects | 20 Jan 2023
  • Creating Videos, Tutorials and other Resources for Starlite

    1 project | /r/Python | 15 Jan 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

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

# Project Stars
1 strawberry 4,257
2 returns 3,913
3 refurb 2,501
4 whenever 2,038
5 django-stubs 1,733
6 result 1,660
7 nbQA 1,117
8 Deal 794
9 classes 703
10 aiomonitor 699
11 python-blueprint 636
12 mypy_boto3_builder 603
13 sqlalchemy-stubs 574
14 nitpick 402
15 lagom 312
16 ancv 254
17 Wagtail-Pipit 244
18 cachew 221
19 mmpm 218
20 phantom-types 217
21 micropython-stubber 216
22 textcase 210
23 docopt-ng 205

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?