Registry / devops / distlib

distlib

JSON →
library0.4.3pypypi✓ verified 26d 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.

pip install distlib
INSTALL
IMPORT
SIG · DISTLIB
D
distlib
devopspythonv0.4.3
Install
1.7s avg
Import
18ms
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.3 · 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
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.018s · 19.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.018s · 20MB
17MB installed
● package 17MB
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.3latest on PyPI · released Jun 12, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
14
Anthropic
1
Resources
distlib — pip install distlib · libregistry