Description
Interface contracts can be declared and checked in legacy Python 2 applications with Zope Interface. This library helps frameworks describe expected object capabilities and component relationships.
It is imported by applications and libraries, not opened directly. Interface declarations document structure but do not replace runtime validation where data is untrusted.