Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Function and method call contracts

Project Description

Provides easy-to-use contract enforcement for Python 3

This software is currently in beta testing. Please file a bug report if you find anything that does not work is described in the documentation.

Provides the following types of contracts:

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

Installation

pip install codeviking.contracts

Support

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

Release History

Release History

This version
History Node

0.17.0

History Node

0.16.0

History Node

0.15.0

History Node

0.14.1

History Node

0.14.0

History Node

0.13.2

History Node

0.13.1

History Node

0.13.0

History Node

0.12.9

History Node

0.12.8

History Node

0.12.7

History Node

0.12.6

History Node

0.12.5

History Node

0.12.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
CodeViking.contracts-0.17.0.tar.gz (15.6 kB) Copy SHA256 Checksum SHA256 Source Oct 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting