Design By Contract packages
Showing projects tagged as Functional Programming and Design By Contract
-
Deal
3.8 4.7 Python🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free. -
PyContracts
3.3 0.0 PythonPyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API. -
icontract
2.8 7.1 PythonDesign-by-contract in Python3 with informative violation messages and inheritance