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 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