Design-by-contract in Python3 with informative violation messages and inheritance
β415Jan 29, 2026Updated 7 months ago
Alternatives and similar repositories for icontract
Users that are interested in icontract are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Combine contracts and automatic testing.β92Jun 5, 2022Updated 4 years ago
- π€ Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.β915Nov 30, 2025Updated 9 months ago
- An analysis tool for Python that blurs the line between testing and type systems.β1,328Updated this week
- Specify contracts for FastAPI endpoints.β25Jan 28, 2022Updated 4 years ago
- A corpus of Python programs annotated with contractsβ26Oct 16, 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.
- An implementation of contracts for Python.β353Aug 30, 2019Updated 7 years ago
- A hack to explicitly set up and tear down fixtures.β18Jul 16, 2022Updated 4 years ago
- PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specifiedβ¦β418Sep 12, 2026Updated last week
- Generate server and client code from Swagger (OpenAPI 2.0) specification.β60Jan 7, 2024Updated 2 years ago
- Pytest plugin to fail a test if it leaves modified `os.environ` afterwards.β16Jul 21, 2026Updated last month
- wrappers around tempfile so that you can directly use them together with pathlib module.β16Mar 17, 2022Updated 4 years ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python