Registry / devops / distlib

distlib

JSON →
library0.4.0pypypi✓ verified 50d ago

distlib is a Python library that provides low-level functions for packaging and distributing Python software, serving as a foundation for third-party packaging tools. The current version is 0.4.0, released on July 17, 2025. The project is actively maintained with regular updates.

devops
pip install distlib
Install & Compatibility
Where this runs
tested against v0.4.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
3/5 runs
3/5 runs
py 3.11
3/5 runs
3/5 runs
py 3.12
3/5 runs
3/5 runs
py 3.13
3/5 runs
3/5 runs
py 3.9
3/5 runs
3/5 runs
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DistlibException
from distlib import DistlibException
from distlib.database import Database
logger
from distlib import logger
NullHandler
from distlib import NullHandler

A basic example demonstrating the initialization and usage of distlib's Database and Index classes.

from distlib.database import Database from distlib.index import Index # Initialize the database db = Database() # Initialize the index index = Index() # Example usage of the database and index # (Replace with actual functionality as needed) print(db) print(index)
Debug
Known issues
breakingdistlib 0.4.0 introduces changes to the Database and Index classes that may require updates to existing codebases.
fix
Review the distlib 0.4.0 release notes and update your code to align with the new class implementations.
affects: 0.3.x
gotchaEnsure that all import statements reference the correct module paths to avoid ImportError due to module restructuring in distlib 0.4.0.
fix
Update import statements to match the new module structure as per the distlib 0.4.0 documentation.
affects: 0.4.0
Upgrade
Version history
0.4.2latest on PyPI
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
6
seranking-bot
4
ahrefsbot
3
Amazon
1
amazonbot
1
Resources