Popularity
3.3
Stable
Activity
0.0
Stable
397
15
62

Description

PyContracts is a Python package that allows to declare constraints on function parameters and return values. It supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts (notably for Numpy arrays).

As a quick intro, please see this presentation about PyContracts.

Programming language: Python
License: GNU General Public License v3.0 or later

PyContracts alternatives and similar packages

Based on the "Functional Programming" category.
Alternatively, view contracts alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of PyContracts or a related project?

Add another 'Functional Programming' Package