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 ↑300% vs prev 7d
total hits 16
actors 6 distinct systems
last hit 2d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇮 Finland · 🇫🇷 France
API endpoints
full doc /v1/registry/icontract
install /v1/registry/icontract/install
compatibility /v1/registry/icontract/compatibility