Suggest an alternative to

contracts

PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API.

Why do you think that https://github.com/Suor/funcy is a good alternative to contracts

A URL to the alternative repo (e.g. GitHub, GitLab)

Here you can share your experience with the project you are suggesting or its comparison with contracts. Optional.

A valid email to send you a verification link when necessary or log in.