Phantom types for Python.
☆233Jan 1, 2026Updated 2 months ago
Alternatives and similar repositories for phantom-types
Users that are interested in phantom-types are comparing it to the libraries listed below
Sorting:
- Abstract class attributes for Python ABCs.☆18Dec 17, 2025Updated 3 months ago
- A better standard for representing money in Python.☆20Dec 15, 2025Updated 3 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆724Dec 17, 2024Updated last year
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆20Jan 9, 2026Updated 2 months ago
- An enum field for Django models☆17Mar 13, 2026Updated last week
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆46Feb 27, 2026Updated 3 weeks ago
- Make your functions return something meaningful, typed, and safe!☆4,239Updated this week
- A type-safe `functools.wraps`.☆20Updated this week
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,385Updated this week
- An IoC container for Python 3.8+☆418Updated this week
- Reusable constraint types to use with typing.Annotated☆592Feb 10, 2026Updated last month
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆877Nov 30, 2025Updated 3 months ago
- Runtime inspection utilities for Python typing module☆376Jan 18, 2026Updated 2 months ago
- Run-time type checker for Python☆1,747Feb 19, 2026Updated last month
- Types that make coding in Python quick and safe.☆23Oct 21, 2019Updated 6 years ago
- Multiple dispatch in Python☆638Updated this week
- Useful types for Python☆150Jan 5, 2026Updated 2 months ago
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 6 years ago
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,952Feb 28, 2026Updated 3 weeks ago
- A Python type checker☆381Jan 27, 2026Updated last month
- Automatically remove unnecessary `# noqa` comments☆261Dec 22, 2025Updated 3 months ago
- Doing dirty (but extremely useful) things with equals.☆980Nov 17, 2025Updated 4 months ago
- trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.☆90Dec 10, 2025Updated 3 months ago
- Simple Python tools for exploring dice outcomes and other finite discrete probabilities☆42Mar 13, 2026Updated last week
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,688Aug 19, 2024Updated last year
- Flake8 plugin to find commented out or dead code☆315Mar 14, 2025Updated last year
- Write short and fully-typed lambdas where you need them.☆285Dec 11, 2023Updated 2 years ago
- Strong Type Hints with Traits☆11Aug 10, 2020Updated 5 years ago
- Enforce the same settings on multiple projects☆412Updated this week
- the missing toolbox for an async world☆346Mar 10, 2026Updated last week
- A composable Python ASGI web framework☆180Mar 18, 2023Updated 3 years ago
- MIGRATED TO CODEBERG. Python library to load dynamically typed data into statically typed data structures☆261Sep 16, 2024Updated last year
- Auto deploy of Docker Swarm services☆18Dec 16, 2021Updated 4 years ago
- Python static typing home. Hosts the documentation and a user help forum.☆1,740Mar 13, 2026Updated last week
- ☆208Updated this week
- A collection of extra types and features for mypy☆36Jan 12, 2026Updated 2 months ago
- Draft specification for the Python type system☆13Dec 11, 2023Updated 2 years ago
- Dev tools for python☆1,068Jan 24, 2025Updated last year
- Production-grade retries for Python☆1,373Mar 3, 2026Updated 2 weeks ago