Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Contracts for Python 2.2+

Project description

Uses a Python metaclass to implement
preconditions, postconditions and invarients. The contracts can be enabled or disabled on either a per module or per class basis. When contracts are not enabled for a particular class, they impose no execution time overhead at all on it.

Project details

Release history Release notifications

This version
History Node


History Node


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page