Skip to main content

Function and method call contracts

Project description

codeviking.contracts README
===========================
Provides easy-to-use
[contract](http://en.wikipedia.org/wiki/Design_by_contract) enforcement for
Python 3

*This software is in a very early state. You probably don't want to use it
yet.*


Provides the following types of contracts:

- function signature checking (automatically extracted from function
annotations)
- preconditions
- postconditions
- invariants


Requirements
------------

* Python 3.3+

Installation
------------

pip install codeviking.contracts

Documentation
-------------

http://codeviking-contracts.readthedocs.org/

Support
-------

See the project home page at
https://bitbucket.org/codeviking/python-codeviking.contracts/
to file a bug report or request a feature.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CodeViking.contracts-0.12.5.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file CodeViking.contracts-0.12.5.tar.gz.

File metadata

File hashes

Hashes for CodeViking.contracts-0.12.5.tar.gz
Algorithm Hash digest
SHA256 3adddcdf22db84b2bcf90ae065ee206d3343b8a3c862680d3bad133a0c3a66c9
MD5 1e319f0af38043b02a8c8d1dcd2a41ca
BLAKE2b-256 2a27f7cdd276ea730d018529f7339c886f0e6962f4bd0e15ec3505713b8c1fbc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page