An implementation of contracts for Python.
☆350Aug 30, 2019Updated 6 years ago
Alternatives and similar repositories for contracts
Users that are interested in contracts are comparing it to the libraries listed below
Sorting:
- The property-based testing library for Python☆8,476Updated this week
- Design-by-contract in Python3 with informative violation messages and inheritance☆397Jan 29, 2026Updated last month
- A hack to explicitly set up and tear down fixtures.☆17Jul 16, 2022Updated 3 years 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
- PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified…☆416Dec 2, 2025Updated 3 months ago
- An analysis tool for Python that blurs the line between testing and type systems.☆1,256Jan 19, 2026Updated last month
- Combine contracts and automatic testing.☆87Jun 5, 2022Updated 3 years ago
- hypothesis strategies for generating SQLAlchemy objects☆29Feb 4, 2023Updated 3 years ago
- Fully automated python fuzzer built to test if code actually is production ready in seconds.☆113Apr 5, 2025Updated 11 months ago
- Eliot: the logging system that tells you *why* it happened☆1,167Jan 22, 2026Updated last month
- A script for running TLA+/TLC from the command line☆82Apr 20, 2021Updated 4 years ago
- Proposed documentation for alloytools.org☆71Sep 9, 2025Updated 5 months ago
- Persistent/Immutable/Functional data structures for Python☆2,173Jan 31, 2026Updated last month
- MutPy is a mutation testing tool for Python 3.x source code☆361Apr 23, 2024Updated last year
- Mutation testing system☆1,216Feb 23, 2026Updated last week
- Very small examples of TLA+ features.☆42Apr 14, 2019Updated 6 years ago
- A Python application for tracking, reporting on timing and complexity in Python code☆1,273Jan 2, 2026Updated 2 months ago
- Hypothesis extension to allow generating strings based on regex☆26Nov 1, 2018Updated 7 years ago
- See test results for every line of Python code☆21Mar 30, 2021Updated 4 years ago
- Mimesis integration with the pytest test runner. This plugin provider useful fixtures based on providers from Mimesis.☆62Jan 31, 2024Updated 2 years ago
- Mutation testing for Python☆624Feb 21, 2026Updated last week
- A Python library that generates static type annotations by collecting runtime types☆4,995Feb 11, 2026Updated 3 weeks ago
- Datasette plugin for serving media based on a SQL query☆21Dec 13, 2022Updated 3 years ago
- Simplified packaging of Python modules☆2,243Feb 26, 2026Updated last week
- A functional standard library for Python.☆5,118Jan 1, 2026Updated 2 months ago
- ☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️☆2,127Dec 29, 2025Updated 2 months ago
- An extensions for Hypothesis that provides fully automatic testing for type hinted functions☆353Sep 23, 2023Updated 2 years ago
- Python code object transformers☆184Feb 27, 2024Updated 2 years ago
- Auto-generate PEP-484 annotations☆1,449Jul 3, 2022Updated 3 years ago
- Tools to generate test data from JSON schemata with Hypothesis☆279Dec 5, 2025Updated 3 months ago
- Tools for test driven data-wrangling and data validation.☆295Dec 5, 2021Updated 4 years ago
- ⚱️ Lightweight, self-contained templating for Python 2 and 3, a la Dust templates☆57Apr 23, 2025Updated 10 months ago
- Hunter is a flexible code tracing toolkit.☆865Aug 22, 2025Updated 6 months ago
- Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.☆202Apr 29, 2023Updated 2 years ago
- Self-service finite-state machines for the programmer on the go.☆645Jan 13, 2026Updated last month
- Providing default representations of common objects in Python land☆20Aug 23, 2017Updated 8 years ago
- Python 3.5+ runtime type checking for integration testing and data validation☆548Jun 2, 2024Updated last year
- Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.☆954Dec 1, 2025Updated 3 months ago
- Make your functions return something meaningful, typed, and safe!☆4,232Updated this week