Skip to main content

Function and method call contracts

Project description

Provides easy-to-use 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

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.6.tar.gz (14.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for CodeViking.contracts-0.12.6.tar.gz
Algorithm Hash digest
SHA256 3c28d3fbcd6d9b347c99bbf7ffc2dde6ebf32e68899bea6e810c277ccc6e0d90
MD5 b482538540df936a8e8e4836e5d18c54
BLAKE2b-256 8eaa494ef35b0228d4196c6a174990a720c0f1bac5275c3d1ee9e90088a43b14

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