Design-by-contract in Python3 with informative violation messages and inheritance
β399Jan 29, 2026Updated last month
Alternatives and similar repositories for icontract
Users that are interested in icontract are comparing it to the libraries listed below
Sorting:
- Combine contracts and automatic testing.β87Jun 5, 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
- An analysis tool for Python that blurs the line between testing and type systems.β1,254Jan 19, 2026Updated last month
- Specify contracts for FastAPI endpoints.β26Jan 28, 2022Updated 4 years ago
- A corpus of Python programs annotated with contractsβ25Oct 16, 2025Updated 4 months ago
- An implementation of contracts for Python.β350Aug 30, 2019Updated 6 years ago
- PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specifiedβ¦β416Dec 2, 2025Updated 2 months ago
- A hack to explicitly set up and tear down fixtures.β17Jul 16, 2022Updated 3 years ago
- Smart, pythonic, ad-hoc, typed polymorphism for Pythonβ724Dec 17, 2024Updated last year
- Pytest plugin to fail a test if it leaves modified `os.environ` afterwards.β15Dec 16, 2025Updated 2 months ago
- Generate arbitrary queries matching your GraphQL schema, and use them to verify your backend implementation.β47Feb 22, 2026Updated last week
- Automatically remove unnecessary `# noqa` commentsβ261Dec 22, 2025Updated 2 months ago
- Mutation testing systemβ1,212Feb 17, 2026Updated last week
- Rate your Python packages package friendlinessβ232Dec 9, 2025Updated 2 months ago
- Lint your Python architecture.β959Updated this week
- The property-based testing library for Pythonβ8,463Feb 22, 2026Updated last week
- Enforce the same settings on multiple projectsβ413Updated this week
- Generate server and client code from Swagger (OpenAPI 2.0) specification.β60Jan 7, 2024Updated 2 years ago
- Make your functions return something meaningful, typed, and safe!β4,229Updated this week
- Ward is a modern test framework for Python with a focus on productivity and readability.β1,211Aug 26, 2024Updated last year
- Mutation testing for Pythonβ623Feb 21, 2026Updated last week
- A Python application for tracking, reporting on timing and complexity in Python codeβ1,271Jan 2, 2026Updated last month
- Run-time type checker for Pythonβ1,746Feb 19, 2026Updated last week
- Flake8 plugin to find commented out or dead codeβ316Mar 14, 2025Updated 11 months ago
- A high-performance immutable mapping type for Python.β1,195May 20, 2025Updated 9 months ago
- Find dead Python codeβ4,346Nov 25, 2025Updated 3 months ago
- Run `black` on python code blocks in documentation filesβ675Feb 14, 2026Updated 2 weeks ago
- Catch API bugs before your users doβ3,062Updated this week
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestβ¦β1,111Updated this week
- Python Linter for performance anti patternsβ709Feb 19, 2024Updated 2 years ago
- Fully automated python fuzzer built to test if code actually is production ready in seconds.β113Apr 5, 2025Updated 10 months ago
- Pytest plugin to randomly order tests and control random.seedβ696Feb 14, 2026Updated 2 weeks ago
- py-test plugin: an incremental test runnerβ54Feb 5, 2026Updated 3 weeks ago
- A flake8 plugin to ban PEP-420 implicit namespace packages.β28Feb 14, 2026Updated 2 weeks ago
- Manage the release notes for your project.β883Feb 2, 2026Updated 3 weeks ago
- Unbearably fast near-real-time pure-Python runtime-static type-checker.β3,344Feb 20, 2026Updated last week
- Composable custom class converters for attrs, dataclasses and friends.β994Updated this week
- Flake8 extension to validate (lack of) logging format stringsβ137Oct 10, 2025Updated 4 months ago
- Doing dirty (but extremely useful) things with equals.β971Nov 17, 2025Updated 3 months ago