Phantom types for Python.
☆233Oct 25, 2026Updated this week
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 10 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆731Dec 17, 2024Updated last year
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆49Sep 20, 2026Updated last month
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆21Jan 9, 2026Updated 9 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Make your functions return something meaningful, typed, and safe!☆4,383Updated this week
- A type-safe `functools.wraps`.☆21Mar 17, 2026Updated 7 months ago
- An enum field for Django models☆17Updated this week
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,510Updated this week
- Runtime inspection utilities for Python typing module☆375Jan 18, 2026Updated 9 months ago
- trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.☆89Oct 21, 2026Updated last week
- Reusable constraint types to use with typing.Annotated☆616Updated this week
- Write short and fully-typed lambdas where you need them.☆286Dec 11, 2023Updated 2 years ago
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆920Nov 30, 2025Updated 11 months 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.
- Multiple dispatch in Python☆661Updated this week
- An IoC container for Python 3.8+☆433Updated this week
- Testing framework that empowers pytest (with better fixtures and parametrization)☆57Jun 26, 2024Updated 2 years ago
- Run-time type checker for Python☆1,792Updated this week
- Decisions by the Python Typing Council☆57Aug 6, 2026Updated 2 months ago
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,990Updated this week
- Useful types for Python☆153Oct 5, 2026Updated 3 weeks ago
- A Python type checker☆386Jan 27, 2026Updated 9 months ago
- Doing dirty (but extremely useful) things with equals.☆1,013Aug 10, 2026Updated 2 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Python data types for the Apache Kafka® Protocol.☆25Updated this week
- Production-grade retries for Python☆1,463Oct 19, 2026Updated last week
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,678Jun 25, 2026Updated 4 months ago
- A Flexible Service Locator for Python.☆422Oct 19, 2026Updated last week
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 7 years ago
- the missing toolbox for an async world☆381Updated this week
- Flake8 plugin to find commented out or dead code☆312Mar 14, 2025Updated last year
- Extensible methods for Python a la Haskell's typeclasses.☆61Feb 5, 2024Updated 2 years ago
- Simple Python tools for exploring dice outcomes and other finite discrete probabilities☆52Updated this week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Enforce the same settings on multiple projects☆412Updated this week
- Automatically remove unnecessary `# noqa` comments☆263Oct 13, 2026Updated 2 weeks ago
- A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML☆4,194Updated this week
- Templated docstrings for Python classes☆16Feb 5, 2024Updated 2 years ago
- Python static typing home. Hosts the documentation and a user help forum.☆1,783Updated this week
- MathLib is a versatile C++ library that provides a wide range of mathematical algorithms and functions, including but not limited to tran…☆10Jun 6, 2023Updated 3 years ago
- Run Python type checkers over millions of lines of code☆115Oct 24, 2026Updated last week