PyPI Stats

Search

All packages
Top packages

Track packages

pycontracts


PyPI page
Home page
Author: Andrea Censi
License: LGPL
Summary: 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.
Latest version: 1.8.12


Downloads last day: 523
Downloads last week: 2,960
Downloads last month: 15,312