Phantom types for Python.
☆235Jan 1, 2026Updated 5 months 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.☆18Updated this week
- A better standard for representing money in Python.☆20Dec 15, 2025Updated 5 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆730Dec 17, 2024Updated last year
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆20Jan 9, 2026Updated 5 months ago
- An enum field for Django models☆17Updated this week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆47Feb 27, 2026Updated 3 months ago
- Make your functions return something meaningful, typed, and safe!☆4,306Updated this week
- A type-safe `functools.wraps`.☆21Mar 17, 2026Updated 2 months ago
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,430Updated this week
- An IoC container for Python 3.8+☆422May 29, 2026Updated 2 weeks ago
- Reusable constraint types to use with typing.Annotated☆603Feb 10, 2026Updated 4 months ago
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆895Nov 30, 2025Updated 6 months ago
- Runtime inspection utilities for Python typing module☆377Jan 18, 2026Updated 4 months ago
- Run-time type checker for Python☆1,763May 23, 2026Updated 2 weeks ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Multiple dispatch in Python☆643Jun 4, 2026Updated last week
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,964May 26, 2026Updated 2 weeks ago
- Useful types for Python☆150Apr 6, 2026Updated 2 months ago
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 7 years ago
- A Python type checker☆382Jan 27, 2026Updated 4 months ago
- Automatically remove unnecessary `# noqa` comments☆263May 19, 2026Updated 3 weeks ago
- Doing dirty (but extremely useful) things with equals.☆991Nov 17, 2025Updated 6 months ago
- trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.☆89Dec 10, 2025Updated 6 months ago
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,690Aug 19, 2024Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Flake8 plugin to find commented out or dead code