Description
Add contract-style checks to Python functions and methods so assumptions can be stated near the code that depends on them. It helps developers catch invalid inputs, outputs, or state earlier during development and testing.
This is a developer library, not a security boundary. Contracts make expectations clearer, but applications still need normal validation for data that comes from users, files, networks, or other untrusted sources.