PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, in a decorator, or inside a docstring :type: and :rtype: tags. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts (notably for Numpy arrays), as well as an extension API.
[email protected] is safe to use (health: 45/100)
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/pypi/PyContractsLast updated · 2019-02-05T19:33:30.854148Z