Icontract: Design-by-Contract for Python
JSON →icontract provides design-by-contract for Python, allowing developers to define preconditions, postconditions, and invariants for functions and classes using expressive lambda functions. It helps ensure correctness and provides informative violation messages, failing fast when contracts are broken. The current version is 2.7.3, and it maintains a steady release cadence with frequent patch updates addressing bugs and adding support for newer Python versions.
Traffic · last 30 days stale · no recent hits
total hits 28
actors 5 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇨🇳 China · VN
API endpoints
full doc /v1/registry/icontract
install /v1/registry/icontract/install
compatibility /v1/registry/icontract/compatibility