interface-meta
`interface_meta` provides a convenient way to expose an extensible API with enforced method signatures and consistent documentation.
Decision gist · record as of 2026-08-14
Yes, if you are building an extensible plugin architecture or framework where API consistency, automatic documentation, and registration hooks matter. The zero-dependency design and permissive license make adoption low-risk. The active maintenance and broad Python version support (3.10–3.14) provide confidence in long-term usability. Not necessary for simple single-class hierarchies or projects that don't require enforced API contracts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with no runtime dependencies.
- Active maintenance as of 2026-04-30 with support for Python 3.10 through 3.14.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-04-30 (106 days) · last repo commit 2026-04-30 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,730,989 downloads/mo, #2,511 on PyPI
Alternatives
Verify before relying
from interface_meta import InterfaceMeta, inherit_docs, override
from abc import abstractmethod
class MyInterface(metaclass=InterfaceMeta):
@property
@abstractmethod
def name(self) -> str:
"""The name of this interface."""
class MyImplementation(MyInterface):
@override
@property
def name(self) -> str:
return "example"- Whether the package is actively maintained beyond the 2026-04-30 release date or if that represents a stable final version.
- Practical performance characteristics when used with deeply nested class hierarchies or large plugin registries.
What it is and what it does
InterfaceMeta is a metaclass-based library for building well-structured, extensible plugin systems in Python. It enforces that subclasses conform to their parent's API—including method signatures—while allowing optional additional parameters on overridden methods. The library automatically generates composite docstrings that merge base interface documentation with implementation-specific quirks, making it clear how each subclass extends or modifies the parent behavior.
The package is designed around the idea that subclassing alone should be sufficient to register a plugin and ensure compliance. It supports hierarchical property and method checking, optional explicit override decorators for clarity, and integration with Python's standard ABCMeta. This makes it particularly useful for libraries that expose plugin architectures where consistency and documentation quality are important.
Use it for
- Building a plugin system where subclasses auto-register and must conform to a parent API contract.
- Creating extensible data connector libraries where implementations must follow consistent method signatures.
- Generating unified API documentation that combines base interface specs with implementation-specific behavior notes.
- Enforcing method signature compliance across a hierarchy of abstract and concrete classes at definition time.
- Developing framework-like libraries where third-party developers extend core interfaces with custom implementations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building an extensible plugin architecture or framework where API consistency, automatic documentation, and registration hooks matter.
The zero-dependency design and permissive license make adoption low-risk. The active maintenance and broad Python version support (3.10–3.14) provide confidence in long-term usability. Not necessary for simple single-class hierarchies or projects that don't require enforced API contracts.
Install
interface-meta on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-04-30 with support for Python 3.10 through 3.14.
Requires Python 3.10 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
from interface_meta import InterfaceMeta, inherit_docs, override
from abc import abstractmethod
class MyInterface(metaclass=InterfaceMeta):
@property
@abstractmethod
def name(self) -> str:
"""The name of this interface."""
class MyImplementation(MyInterface):
@override
@property
def name(self) -> str:
return "example"
Verify before relying
- Whether the package is actively maintained beyond the 2026-04-30 release date or if that represents a stable final version.
- Practical performance characteristics when used with deeply nested class hierarchies or large plugin registries.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 106 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,730,989 / month, #2,511 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: interface_meta-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “extensible plugin architecture”
- interface-metaProvides a metaclass-based system for building extensible APIs with…
- pluggyPluggy provides a plugin system that lets you define hook…
- plugincodePlugincode provides a plugin system for Python applications, allowing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also python-interface · overrides · robotcode-plugin · pluggy · overloading · docstring-inheritance · autogen-ext · snakemake-interface-common · ExtensionClass