pypi.org : pycontracts311
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.
Registry
-
Source
- Homepage
- Documentation
- JSON
purl: pkg:pypi/pycontracts311
Keywords:
type checking
, value checking
, contracts
License: Other
Latest release: 4 months ago
First release: 4 months ago
Stars: 407 on GitHub
Forks: 60 on GitHub
Total Commits: 422
Committers: 19
Average commits per author: 22.211
Development Distribution Score (DDS): 0.382
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago