Phantom types for Python.
☆234Jan 1, 2026Updated 3 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.☆18Mar 30, 2026Updated last week
- A better standard for representing money in Python.☆20Dec 15, 2025Updated 3 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆728Dec 17, 2024Updated last year
- Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing☆20Jan 9, 2026Updated 3 months ago
- An enum field for Django models☆17Apr 2, 2026Updated last week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- A pure-Python codified rant aspiring to a world where numbers and types can work together.☆47Feb 27, 2026Updated last month
- Make your functions return something meaningful, typed, and safe!☆4,254Updated this week
- A type-safe `functools.wraps`.☆20Mar 17, 2026Updated 3 weeks ago
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,396Updated this week
- An IoC container for Python 3.8+☆419Updated this week
- Reusable constraint types to use with typing.Annotated☆594Feb 10, 2026Updated 2 months ago
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆888Nov 30, 2025Updated 4 months ago
- Runtime inspection utilities for Python typing module☆377Jan 18, 2026Updated 2 months ago
- Run-time type checker for Python☆1,753Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Types that make coding in Python quick and safe.☆23Oct 21, 2019Updated 6 years ago
- Multiple dispatch in Python☆641Updated this week
- Useful types for Python☆150Updated this week
- Examples for Heisenbug 2019☆13Apr 18, 2019Updated 6 years ago
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,953Updated this week
- A Python type checker☆381Jan 27, 2026Updated 2 months ago
- Automatically remove unnecessary `# noqa` comments☆262Updated this week
- Doing dirty (but extremely useful) things with equals.☆984Nov 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 4 months ago
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- Simple Python tools for exploring dice outcomes and other finite discrete probabilities☆43Mar 13, 2026Updated 3 weeks ago
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,692Aug 19, 2024Updated last year
- Flake8 plugin to find commented out or dead code☆316Mar 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☆411Updated this week
- the missing toolbox for an async world☆362Apr 3, 2026Updated last week
- MIGRATED TO CODEBERG. Python library to load dynamically typed data into statically typed data structures☆262Sep 16, 2024Updated last year
- A composable Python ASGI web framework☆183Mar 18, 2023Updated 3 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- 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,748Updated this week
- ☆212Mar 31, 2026Updated last week
- A collection of extra types and features for mypy☆36Jan 12, 2026Updated 3 months ago
- Draft specification for the Python type system☆13Dec 11, 2023Updated 2 years ago
- Dev tools for python☆1,071Jan 24, 2025Updated last year
- Production-grade retries for Python☆1,382Updated this week