PyContracts

pypiv1.8.12

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.

License LGPL39 versions1 maintainers0 deps3,506 weekly dl
http://andreacensi.github.com/contracts/
45
/ 100
Health
safe to use

[email protected] is safe to use (health: 45/100)

Health breakdown0 – 100
0/25
maintenance
6/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/pypi/PyContracts

Last updated · 2019-02-05T19:33:30.854148Z