{"library":"zope-interface","type":"library","category":null,"description":"Interfaces are objects that specify (document) the external behavior of objects that 'provide' them. An interface specifies behavior through informal documentation, attribute definitions, and invariants. `zope.interface` provides an implementation of 'object interfaces' for Python, facilitating Design By Contract. It is currently at version 8.2 (as of January 9, 2026) and is actively maintained by the Zope Toolkit project.","language":"python","status":"active","version":"8.2","tags":["interfaces","design-by-contract","zope","liskov-substitution-principle","component-architecture"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install zope.interface","imports":["from zope.interface import Interface","from zope.interface import Attribute","from zope.interface import implementer","from zope.interface import verify"]}],"homepage":"https://zope.org/","github":"https://github.com/zopefoundation/zope.interface","docs":"https://zopeinterface.readthedocs.io","changelog":"https://github.com/zopefoundation/zope.interface/blob/master/CHANGES.rst","pypi":"https://pypi.org/project/zope-interface/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.8,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/zope-interface/compatibility"}}