Skip to main content

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


Supported by

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