PyContracts

v1.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. For more information about how to use this package see README

Latest version published 4 years ago
License: LGPL-3.0

Ensure you're using the healthiest python packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

55 / 100

Explore Similar Packages

Popularity

Recognized

Total Weekly Downloads (10,209)

Popularity by version
Dependents
0
GitHub Stars
387
Forks
57
Contributors
20

Direct Usage Popularity


The PyPI package PyContracts receives a total of 10,209 downloads a week. As such, we scored PyContracts popularity level to be Recognized.

Based on project statistics from the GitHub repository for the PyPI package PyContracts, we found that it has been starred 387 times, and that 0 other projects in the ecosystem are dependent on it.

The download numbers shown are the average weekly downloads from the last 6 weeks.

Security

No known security issues
Powered by Snyk
1.8.12 (Latest)

Security and license risk for latest version

Release Date
Feb 5, 2019
Direct Vulnerabilities
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
Indirect Vulnerabilities
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
License Risk
  • 0
    H
  • 1
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
LGPL-3.0
Alert

Non-Permissive License

We noticed that this project uses a license which requires less permissive conditions such as disclosing the source code, stating changes or redistributing the source under the same license. It is advised to further consult the license terms before use.


Security Policy
No

We found a way for you to contribute to the project! Looks like PyContracts is missing a security policy.


You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

Keep your project free of vulnerabilities with Snyk

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
42
Open PR
13
Last Release
4 years ago
Last Commit
2 years ago

Further analysis of the maintenance status of PyContracts based on released PyPI versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.

An important project maintenance signal to consider for PyContracts is that it hasn't seen any new versions released to PyPI in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Community

Sustainable
Readme
Yes
Contributing.md
No
Code of Conduct
No
Contributors
20
Funding
No

With more than 10 contributors for the PyContracts repository, this is possibly a sign for a growing and inviting community.

We found a way for you to contribute to the project! Looks like PyContracts is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 55/100 package health 55/100

Package

Python Versions Compatibility
Unspecified

Age
11 years
Latest Release
4 years ago
Dependencies
4 Total
Versions
39
Maintainers
1
Wheels
No