$npx skillfedfor your agent

distlib

Distribution utilities

With conditionsPyPI Software DevelopmentReleased Jun 2026323.3M downloads / moPSF-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — distlib-0.4.3-py2.py3-none-any.whl
v0.4.3 · released 2026-06-12

Yes—if you are building packaging tooling or need low-level distribution utilities. Distlib is mature, actively maintained, widely used (by pip), has zero dependencies, and carries no security vulnerabilities. It is not a user-facing package manager; install it only if your code will call its APIs directly. For typical application development, you do not need it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained—last commit 2026-06-12, release 63 days ago.
  • Mature project (Development Status 5 - Production/Stable) used by pip and other well-known tools.

License · maintenance · safety

PSF-2.0 (permissive) — Licensed under PSF-2.0 (permissive). No restrictions on commercial or private use; attribution and license text inclusion required in distributions.

last release 2026-06-12 (63 days) · last repo commit 2026-06-12 · 65 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 323,330,233 downloads/mo, #129 on PyPI

Verify before relying

pip install distlib==0.4.3

from distlib.database import DistributionPath
from distlib.index import PackageIndex

# Query installed distributions
dp = DistributionPath()
for dist in dp.get_distributions():
    print(dist.name, dist.version)
  • Whether distlib is intended for end-user applications or exclusively as a foundation for packaging tool authors.
  • Performance characteristics when working with large dependency graphs or indexes.
  • Specific Python 2.7 support status given the broader Python 2 end-of-life context.
Same gist for agents: .md · .json

What it is and what it does

Distlib is a library of low-level building blocks for Python packaging tools. It implements the core abstractions defined in PEPs 241, 314, 345, 427, 440, 508, 566, and 643—metadata formats, version specifiers, environment markers, wheel format support, and dependency graph logic. It is designed as a foundation for third-party packaging tools rather than as a user-facing package manager.

The library provides modules for querying installed distributions (distlib.database), interacting with package indexes (distlib.index), parsing and generating distribution metadata (distlib.metadata), locating packages from PyPI or local sources (distlib.locators), building and installing wheels (distlib.wheel), installing scripts with platform-specific shebang adjustment (distlib.scripts), and utilities for version handling, resource access, and manifest management. It has no runtime dependencies and is tested on Python 2.7, 3.6+, PyPy, and Windows, macOS, and Linux.

Use it for

  • Building a custom package manager or distribution tool that needs to parse PEP-compliant metadata and resolve dependencies.
  • Installing Python scripts with automatic shebang line adjustment and Windows launcher support.
  • Querying the local environment to discover installed distributions and their metadata.
  • Implementing version specifier matching and environment marker evaluation for dependency resolution.
  • Uploading packages to a PyPI-like index with SSL verification and GnuPG signing support.
  • Locating and downloading distributions from PyPI or custom indexes programmatically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes—if you are building packaging tooling or need low-level distribution utilities.

Distlib is mature, actively maintained, widely used (by pip), has zero dependencies, and carries no security vulnerabilities. It is not a user-facing package manager; install it only if your code will call its APIs directly. For typical application development, you do not need it.

Install

distlib on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained—last commit 2026-06-12, release 63 days ago. Mature project (Development Status 5 - Production/Stable) used by pip and other well-known tools.

License in practice

Licensed under PSF-2.0 (permissive). No restrictions on commercial or private use; attribution and license text inclusion required in distributions.

Quickstart

pip install distlib==0.4.3

from distlib.database import DistributionPath
from distlib.index import PackageIndex

# Query installed distributions
dp = DistributionPath()
for dist in dp.get_distributions():
    print(dist.name, dist.version)

Verify before relying

  • Whether distlib is intended for end-user applications or exclusively as a foundation for packaging tool authors.
  • Performance characteristics when working with large dependency graphs or indexes.
  • Specific Python 2.7 support status given the broader Python 2 end-of-life context.

Package facts

LicensePSF-2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 63 days since the last release
Last repo commit
First released
Downloads323,330,233 / month, #129 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Evidence: distlib-0.4.3-py2.py3-none-any.whl

Tags

Capabilities
python packaging utilitieswheel building and installationdistribution metadata handlingversion specifier parsingdependency graph resolutionpackage index operationsscript installation with shebang
Topics
packaging-infrastructurepep-compliant

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 › “wheel building and installation”

  • distlibDistlib provides low-level packaging utilities for building,…
  • cmeel-zlibProvides zlib 1.3.2 as a pre-built wheel for use within cmeel-based…
  • setuptoolsSetuptools is a Python build backend and package management tool that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
mypy-extensions With conditions
PyPI · Software Development · released Apr 2025

Provides type system extensions for Python programs checked with mypy, including support for special typing constructs that the mypy type checker and mypyc compiler recognize.

license unclearpure Python · 3.8+aging
317.0Mdownloads / mo

See also installer · setuptools · packaging · twine · identify · packvers · pip · wheel · pkginfo · pypiserver