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 2 months ago
- A better standard for representing money in Python.☆20Dec 15, 2025Updated 2 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆724Dec 17, 2024Updated last year
- Make your functions return something meaningful, typed, and safe!☆4,229Updated this week
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆20Jan 9, 2026Updated last month
- An enum field for Django models☆17Feb 23, 2026Updated last week
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆46Aug 7, 2024Updated last year
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,354Updated this week
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 6 years ago
- A type-safe `functools.wraps`.☆20Nov 22, 2025Updated 3 months ago
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆868Nov 30, 2025Updated 3 months ago
- Run-time type checker for Python☆1,746Feb 19, 2026Updated last week
- An IoC container for Python 3.8+☆415Feb 22, 2026Updated last week
- Runtime inspection utilities for Python typing module☆376Jan 18, 2026Updated last month
- Reusable constraint types to use with typing.Annotated☆592Feb 10, 2026Updated 2 weeks ago
- Flake8 plugin to find commented out or dead code☆316Mar 14, 2025Updated 11 months ago
- Multiple dispatch in Python☆633Feb 21, 2026Updated last week
- Write short and fully-typed lambdas where you need them.☆285Dec 11, 2023Updated 2 years ago
- A collection of extra types and features for mypy☆35Jan 12, 2026Updated last month
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,687Aug 19, 2024Updated last year
- A Python type checker☆379Jan 27, 2026Updated last month
- MIGRATED TO CODEBERG. Python library to load dynamically typed data into statically typed data structures☆261Sep 16, 2024Updated last year
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,947Feb 2, 2026Updated last month
- Useful types for Python☆148Jan 5, 2026Updated last month
- Automatically remove unnecessary `# noqa` comments☆260Dec 22, 2025Updated 2 months ago
- Doing dirty (but extremely useful) things with equals.☆974Nov 17, 2025Updated 3 months ago
- Simple Python tools for exploring dice outcomes and other finite discrete probabilities☆41Aug 13, 2024Updated last year
- Output API docs to Markdown using Griffe.☆17Feb 21, 2026Updated last week
- the missing toolbox for an async world☆342Feb 18, 2026Updated last week
- Enforce the same settings on multiple projects☆413Updated this week
- Composable custom class converters for attrs, dataclasses and friends.☆994Feb 23, 2026Updated last week
- ☆207Updated this week
- A composable Python ASGI web framework☆180Mar 18, 2023Updated 2 years ago
- Opinionated typing package for precise type hints in Python☆75Feb 23, 2026Updated last week
- Builders for attrs☆11Jul 31, 2019Updated 6 years ago
- Draft specification for the Python type system☆13Dec 11, 2023Updated 2 years ago
- ❄️ A flake8 plugin to help you write better list/set/dict comprehensions.☆468Feb 14, 2026Updated 2 weeks ago
- Fast and well tested serialization library☆909Updated this week
- JSON (de)serialization, GraphQL and JSON schema generation using Python typing.☆242Feb 23, 2026Updated last week