Phantom types for Python.
☆236Nov 4, 2026Updated 2 weeks ago
Alternatives and similar repositories for phantom-types
Users that are interested in phantom-types are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Abstract class attributes for Python ABCs.☆19Jun 22, 2026Updated 4 months ago
- A better standard for representing money in Python.☆20Dec 15, 2025Updated 11 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆733Dec 17, 2024Updated last year
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆49Sep 20, 2026Updated 2 months ago
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆21Jan 9, 2026Updated 10 months ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Make your functions return something meaningful, typed, and safe!☆4,388Updated this week
- A type-safe `functools.wraps`.☆21Mar 17, 2026Updated 8 months ago
- An enum field for Django models☆17Updated this week
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,519Updated this week
- Runtime inspection utilities for Python typing module☆377Jan 18, 2026Updated 10 months ago
- trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.☆88Oct 21, 2026Updated last month
- Write short and fully-typed lambdas where you need them.☆286Dec 11, 2023Updated 2 years ago
- Reusable constraint types to use with typing.Annotated☆616Oct 27, 2026Updated 3 weeks ago
- Protect your services with email verification☆10Dec 19, 2021Updated 4 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆924Nov 30, 2025Updated 11 months ago
- Multiple dispatch in Python☆662Updated this week
- An IoC container for Python 3.8+☆436Updated this week
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,992Updated this week
- Run-time type checker for Python☆1,794Updated this week
- Testing framework that empowers pytest (with better fixtures and parametrization)☆57Jun 26, 2024Updated 2 years ago
- Decisions by the Python Typing Council☆57Aug 6, 2026Updated 3 months ago
- A Python type checker☆386Updated this week
- Useful types for Python☆153Oct 5, 2026Updated last month
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Doing dirty (but extremely useful) things with equals.☆1,015Aug 10, 2026Updated 3 months ago
- Python data types for the Apache Kafka® Protocol.☆25Nov 13, 2026Updated last week
- Types that make coding in Python quick and safe.☆23Oct 21, 2019Updated 7 years ago
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,678Jun 25, 2026Updated 4 months ago
- Production-grade retries for Python☆1,480Updated this week
- Python static typing home. Hosts the documentation and a user help forum.☆1,784Updated this week
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 7 years ago
- A Flexible Service Locator for Python.☆422Updated this week
- Flake8 plugin to find commented out or dead code☆313Mar 14, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Backport Python 3.8+ typing utils & add issubtype & more☆12Nov 9, 2022Updated 4 years ago
- Automatically add simple type annotations to your code☆286Sep 19, 2025Updated last year
- the missing toolbox for an async world☆382Updated this week
- Extensible methods for Python a la Haskell's typeclasses.☆61Feb 5, 2024Updated 2 years ago
- Enforce the same settings on multiple projects☆413Updated this week
- A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML☆4,228Updated this week
- Automatically remove unnecessary `# noqa` comments☆263Nov 4, 2026Updated 2 weeks ago
Are these results useful?