importlib_metadata
A backport and reference implementation of Python's importlib.metadata for reading package metadata
Repository Health
Technical Analysis
importlib_metadata gives Python code a consistent API for reading a package’s metadata — version, entry points, dependencies, top-level modules — without importing that package. It is both the reference implementation used to develop new features for the standard library’s importlib.metadata module and a standalone backport, so projects supporting older Python versions (or wanting the latest metadata-reading features before they land upstream) can pip install it directly.
Because so much of Python’s packaging ecosystem (entry-point discovery, plugin systems, pip show-style introspection) depends on reading installed-package metadata, this library sits quietly underneath a large share of the tooling ecosystem, including being vendored into setuptools and used by countless plugin-loading frameworks.
What You Get
version(),metadata(), anddistribution()APIs for reading installed package metadata- Entry-point discovery (
entry_points()) used to power plugin systems across the ecosystem - Support for reading dependencies/requirements declared by a distribution
- A backport that tracks and previews new features before they land in the standard library
- Compatibility across older supported Python versions that lack the newest stdlib features
Common Use Cases
- Building plugin systems that discover installed plugins via entry points
- Introspecting a package’s version or metadata at runtime without importing it
- Backporting the newest
importlib.metadatacapabilities to projects on older Python versions - Powering package-management tooling that needs to enumerate installed distributions
Under The Hood
Architecture - importlib_metadata/__init__.py implements Distribution/PackagePath abstractions with pluggable finders that locate installed package metadata (.dist-info/.egg-info) on sys.path, backed by helper modules for adapting raw email-style metadata (_adapters.py), text parsing (_text.py), and collection utilities (_collections.py, _itertools.py, _functools.py) kept intentionally dependency-free for early-bootstrap use. Tech Stack - Pure Python with minimal dependencies (zipp for zip-file path support pre-3.12), packaged with modern PEP 621 pyproject.toml metadata, tested via tox/pytest across supported CPython versions, and typed-checked with mypy. Code Quality - A large tests/ suite (test_api.py, test_integration.py, test_zip.py, test_main.py) plus fixture helpers reflects the project’s role as a reference implementation feeding directly into CPython, where correctness bugs would break the standard library itself. API Design - The API mirrors what later becomes stdlib importlib.metadata, so the learning curve is minimal for anyone who has used the standard library version; version('pkgname') and entry_points(group=...) cover the vast majority of real usage in one call.
Used by 13 apps in this directory
Agno
AI Development · Automation · Devops
Build, run, and manage agent platforms with a full production stack — SDK, runtime, and control plane included.
Apache Airflow
Data Engineering
Define, schedule, and monitor complex data workflows as Python code — with a powerful UI, 80+ provider integrations, and battle-tested scalability across thousands of production deployments.
argilla
AI Development · Data Engineering
Collaborate on high-quality AI training data with a self-hosted annotation platform built for LLMs, NLP, and multimodal models.
ClickHouse
Analytics · Data Engineering · Databases
Open-source column-oriented database that delivers real-time analytical queries on petabyte-scale data with millisecond latency.
Dokku
Devops · Hosting Control Panel
The smallest PaaS implementation you've ever seen — deploy apps via git push using Docker and Heroku buildpacks on your own server.
GPT Researcher
AI Assistants · Productivity
The pioneering open-source autonomous AI agent that conducts deep, multi-source research and produces citation-backed reports exceeding 2,000 words — faster and more reliably than any human researcher.
Helicone
AI Development · Analytics · Monitoring
An open-source AI gateway and LLM observability platform that routes requests to 100+ models while logging cost, latency, and full traces for every call.
knowhere
AI Development · AI Memory · Developer Tools
Transform messy, unstructured documents into persistent, navigable memory that AI agents can actually use.
LiteLLM
AI Development · Developer Tools
Open source AI gateway and Python SDK that gives you one OpenAI-compatible interface to call 100+ LLM providers, with built-in routing, cost tracking, guardrails, and virtual keys.