{"id":314,"library":"distlib","title":"distlib: Distribution Utilities","description":"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.","status":"active","version":"0.4.0","language":"python","source_language":"en","source_url":"https://github.com/pypa/distlib","tags":["packaging","distribution","Python","utilities"],"install":[{"cmd":"pip install distlib","lang":"bash","label":"Install distlib"}],"dependencies":[],"imports":[{"wrong":"from distlib.database import Database","symbol":"DistlibException","correct":"from distlib import DistlibException"},{"symbol":"logger","correct":"from distlib import logger"},{"symbol":"NullHandler","correct":"from distlib import NullHandler"}],"quickstart":{"code":"from distlib.database import Database\nfrom distlib.index import Index\n\n# Initialize the database\ndb = Database()\n\n# Initialize the index\nindex = Index()\n\n# Example usage of the database and index\n# (Replace with actual functionality as needed)\nprint(db)\nprint(index)","lang":"python","description":"A basic example demonstrating the initialization and usage of distlib's Database and Index classes."},"warnings":[{"fix":"Review the distlib 0.4.0 release notes and update your code to align with the new class implementations.","message":"distlib 0.4.0 introduces changes to the Database and Index classes that may require updates to existing codebases.","severity":"breaking","affected_versions":"0.3.x"},{"fix":"Update import statements to match the new module structure as per the distlib 0.4.0 documentation.","message":"Ensure that all import statements reference the correct module paths to avoid ImportError due to module restructuring in distlib 0.4.0.","severity":"gotcha","affected_versions":"0.4.0"}],"env_vars":null,"search_vec":"'0.4.0':35 '17':39 '2025':40 'activ':44 'current':32 'distlib':1,4 'distribut':2,18,50 'foundat':24 'function':14 'juli':38 'level':13 'librari':8 'low':12 'low-level':11 'maintain':45 'packag':16,29,49 'parti':28 'project':42 'provid':10 'python':7,19,51 'regular':47 'releas':36 'serv':21 'softwar':20 'third':27 'third-parti':26 'tool':30 'updat':48 'util':3,52 'version':33","created_at":"2026-03-28T08:30:56.585361+00:00","updated_at":"2026-04-16T14:26:41.579241+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":0,"quickstart_score":0,"quickstart_tag":"stale","pypi_latest":"0.4.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/pypa/distlib","docs":"https://distlib.readthedocs.io/","changelog":null,"pypi":"https://pypi.org/project/distlib/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":"stale"}}