Design-by-contract in Python3 with informative violation messages and inheritance
☆396Jan 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.☆877Nov 30, 2025Updated 3 months ago
- An analysis tool for Python that blurs the line between testing and type systems.☆1,261Jan 19, 2026Updated 2 months ago
- Specify contracts for FastAPI endpoints.☆25Jan 28, 2022Updated 4 years ago
- A corpus of Python programs annotated with contracts☆25Oct 16, 2025Updated 5 months ago
- An implementation of contracts for Python.☆350Aug 30, 2019Updated 6 years ago
- A hack to explicitly set up and tear down fixtures.☆17Jul 16, 2022Updated 3 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 3 months ago
- Pytest plugin to fail a test if it leaves modified `os.environ` afterwards.☆15Dec 16, 2025Updated 3 months ago
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆724Dec 17, 2024Updated last year
- wrappers around tempfile so that you can directly use them together with pathlib module.☆16Mar 17, 2022Updated 4 years ago
- Automatically remove unnecessary `# noqa` comments☆261Dec 22, 2025Updated 2 months ago
- The property-based testing library for Python☆8,504Updated this week
- Mutation testing system☆1,232Mar 11, 2026Updated last week
- Lint your Python architecture.☆976Mar 6, 2026Updated 2 weeks ago
- Generate arbitrary queries matching your GraphQL schema, and use them to verify your backend implementation.☆47Updated this week
- Rate your Python packages package friendliness☆232Dec 9, 2025Updated 3 months ago
- Python3 library to manage remote machines and perform file operations over SSH☆20Mar 29, 2024Updated last year
- Make your functions return something meaningful, typed, and safe!☆4,239Updated this week
- Enforce the same settings on multiple projects☆412Updated this week
- Ward is a modern test framework for Python with a focus on productivity and readability.☆1,211Aug 26, 2024Updated last year
- Build languages on Python.☆12May 2, 2021Updated 4 years ago
- Run-time type checker for Python☆1,747Feb 19, 2026Updated last month
- A Python application for tracking, reporting on timing and complexity in Python code☆1,273Updated this week
- A high-performance immutable mapping type for Python.☆1,196May 20, 2025Updated 10 months ago
- Mutation testing for Python☆626Feb 21, 2026Updated last month
- Find dead Python code☆4,382Mar 4, 2026Updated 2 weeks ago
- Catch API bugs before your users do☆3,113Updated this week
- Reusable constraint types to use with typing.Annotated☆592Feb 10, 2026Updated last month
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,374Mar 14, 2026Updated last week
- Python Linter for performance anti patterns☆708Feb 19, 2024Updated 2 years ago
- An IoC container for Python 3.8+☆417Feb 22, 2026Updated 3 weeks ago
- ☆15Updated this week
- A functional standard library for Python.☆5,128Jan 1, 2026Updated 2 months ago
- Flake8 plugin to find commented out or dead code☆315Mar 14, 2025Updated last year
- Pytest plugin to randomly order tests and control random.seed☆700Updated this week
- Run `black` on python code blocks in documentation files☆676Updated this week
- Composable custom class converters for attrs, dataclasses and friends.☆1,014Mar 13, 2026Updated last week
- py-test plugin: an incremental test runner☆54Feb 5, 2026Updated last month