--- id: zope-interface version: "8.5" license: ZPL-2.1 license_treatment: unclear maintenance: active --- # zope.interface — Interfaces for Python License: unclear · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install zope-interface uv add zope-interface poetry add zope-interface ## Description ==================== ``zope.interface`` ==================== .. image:: https://img.shields.io/pypi/v/zope.interface.svg :target: https://pypi.python.org/pypi/zope.interface/ :alt: Latest Version .. image:: https://img.shields.io/pypi/pyversions/zope.interface.svg :target: https://pypi.org/project/zope.interface/ :alt: Supported Python versions .. image:: https://github.com/zopefoundation/zope.interface/actions/workflows/tests.yml/badge.svg :target: https://github.com/zopefoundation/zope.interface/actions/workflows/tests.yml .. image:: https://readthedocs.org/projects/zopeinterface/badge/?version=latest :target: https://zopeinterface.readthedocs.io/en/latest/ :alt: Documentation Status This package is intended to be independently reusable in any Python project. It is maintained by the `Zope Toolkit project `_. This package provides an implementation of "object interfaces" for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the `Design By Contract`_ methodology support in Python. ..... ## AI interpretation — verify before relying Provides a Python implementation of object interfaces for declaring and enforcing API contracts using Design by Contract methodology, enabling runtime type checking and interface-based polymorphism. Verdict: A stable, actively maintained foundational library (18+ years, top 1000 PyPI) with zero known vulnerabilities and broad Python version support (3.10–3.14, including free-threaded variants). Medium install friction from C extensions is offset by no runtime dependencies and solid maintenance. License clarity should be verified before use in proprietary projects. [View on SkillFed](https://skillfed.io/packages/zope-interface) · [View on PyPI](https://pypi.org/project/zope-interface/)