|badge1| |badge2|
.. |badge1| image:: https://img.shields.io/github/actions/workflow/status/pypa/distlib/package-tests.yml
:alt: GitHub Workflow Status (with event)
.. |badge2| image:: https://img.shields.io/codecov/c/github/pypa/distlib
:target: https://app.codecov.io/gh/pypa/distlib
:alt: GitHub coverage status
What is it?
-----------
Distlib is a library which implements low-level functions that relate to
packaging and distribution of Python software. It is intended to be used as the
basis for third-party packaging tools. The documentation is available at
https://distlib.readthedocs.io/
Main features
-------------
Distlib currently offers the following features:
* The package ``distlib.database``, which implements a database of installed
distributions, as defined by :pep:`376`, and distribution dependency graph
logic. Support is also provided for non-installed distributions (i.e.
distributions registered with metadata on an index like PyPI), including
the ability to scan for dependencies and building dependency graphs.
* The package ``distlib.index``, which implements an interface to perform
operations on an index, such as registering a project, uploading a
distribution or uploading documentation. Support is included for verifying
SSL connections (with domain matching) and signing/verifying packages using
GnuPG.
* The package ``distlib.metadata``, which implements distribution metadata as
defined by :pep:`643`, :pep:`566`, :pep:`345`, :pep:`314` and :pep:`241`.
* The package ``distlib.markers``, which implements environment markers as
defined by :pep:`508`.
* The package ``distlib.manifest``, which implements lists of files used
in packaging source distributions.
* The package ``distlib.locators``, which allows finding distributions, whether
on PyPI (XML-RPC or via the "simple" interface), local directories or some
other source.
* The package ``distlib.resources``, which allows access to data files stored
in Python packages, both in the file system and in .zip files.
* The package ``distlib.scripts``, which allows installing of scripts with
adjustment of shebang lines and support for native Windows executable
launchers.
* The package ``distlib.version``, which implements version specifiers as
defined by :pep:`440`, but also support for working with "legacy" versions and
semantic versions.
* The package ``distlib.wheel``, which provides support for building and
installing from the Wheel format for binary distributions (see :pep:`427`).
* The package ``distlib.util``, which contains miscellaneous functions and
classes which are useful in packaging, but which do not fit neatly into
one of the other packages in ``distlib``.* The package implements enhanced
globbing functionality such as the ability to use ``**`` in patterns to
specify recursing into subdirectories.
Python version and platform compatibility
-----------------------------------------
Distlib is intended to be used on and is tested on Python versions 2.7 and 3.6 or later,
pypy-2.7 and pypy3 on Linux, Windows, and macOS.
Project status
--------------
The project has reached a mature status in its development: there is a comprehensive
test suite and it has been exercised on Windows, Ubuntu and macOS. The project is used
by well-known projects such as `pip <https://pypi.org/pypi/pip>`_ and `caniusepython3
<https://pypi.org/pypi/caniusepython3>`_.
This project was migrated from Mercurial to Git and from BitBucket to GitHub, and
although all information of importance has been retained across the migration, some
commit references in issues and issue comments may have become invalid.
Code of Conduct
---------------
Everyone interacting in the distlib project's codebases, issue trackers, chat
rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
Raw data
{
"_id": null,
"home_page": "https://github.com/pypa/distlib",
"name": "distlib",
"maintainer": null,
"docs_url": "https://pythonhosted.org/distlib/",
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Vinay Sajip",
"author_email": "vinay_sajip@red-dove.com",
"download_url": "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz",
"platform": "any",
"description": "|badge1| |badge2|\n\n.. |badge1| image:: https://img.shields.io/github/actions/workflow/status/pypa/distlib/package-tests.yml\n :alt: GitHub Workflow Status (with event)\n\n.. |badge2| image:: https://img.shields.io/codecov/c/github/pypa/distlib\n :target: https://app.codecov.io/gh/pypa/distlib\n :alt: GitHub coverage status\n\nWhat is it?\n-----------\n\nDistlib is a library which implements low-level functions that relate to\npackaging and distribution of Python software. It is intended to be used as the\nbasis for third-party packaging tools. The documentation is available at\n\nhttps://distlib.readthedocs.io/\n\nMain features\n-------------\n\nDistlib currently offers the following features:\n\n* The package ``distlib.database``, which implements a database of installed\n distributions, as defined by :pep:`376`, and distribution dependency graph\n logic. Support is also provided for non-installed distributions (i.e.\n distributions registered with metadata on an index like PyPI), including\n the ability to scan for dependencies and building dependency graphs.\n* The package ``distlib.index``, which implements an interface to perform\n operations on an index, such as registering a project, uploading a\n distribution or uploading documentation. Support is included for verifying\n SSL connections (with domain matching) and signing/verifying packages using\n GnuPG.\n* The package ``distlib.metadata``, which implements distribution metadata as\n defined by :pep:`643`, :pep:`566`, :pep:`345`, :pep:`314` and :pep:`241`.\n* The package ``distlib.markers``, which implements environment markers as\n defined by :pep:`508`.\n* The package ``distlib.manifest``, which implements lists of files used\n in packaging source distributions.\n* The package ``distlib.locators``, which allows finding distributions, whether\n on PyPI (XML-RPC or via the \"simple\" interface), local directories or some\n other source.\n* The package ``distlib.resources``, which allows access to data files stored\n in Python packages, both in the file system and in .zip files.\n* The package ``distlib.scripts``, which allows installing of scripts with\n adjustment of shebang lines and support for native Windows executable\n launchers.\n* The package ``distlib.version``, which implements version specifiers as\n defined by :pep:`440`, but also support for working with \"legacy\" versions and\n semantic versions.\n* The package ``distlib.wheel``, which provides support for building and\n installing from the Wheel format for binary distributions (see :pep:`427`).\n* The package ``distlib.util``, which contains miscellaneous functions and\n classes which are useful in packaging, but which do not fit neatly into\n one of the other packages in ``distlib``.* The package implements enhanced\n globbing functionality such as the ability to use ``**`` in patterns to\n specify recursing into subdirectories.\n\n\nPython version and platform compatibility\n-----------------------------------------\n\nDistlib is intended to be used on and is tested on Python versions 2.7 and 3.6 or later,\npypy-2.7 and pypy3 on Linux, Windows, and macOS.\n\nProject status\n--------------\n\nThe project has reached a mature status in its development: there is a comprehensive\ntest suite and it has been exercised on Windows, Ubuntu and macOS. The project is used\nby well-known projects such as `pip <https://pypi.org/pypi/pip>`_ and `caniusepython3\n<https://pypi.org/pypi/caniusepython3>`_.\n\nThis project was migrated from Mercurial to Git and from BitBucket to GitHub, and\nalthough all information of importance has been retained across the migration, some\ncommit references in issues and issue comments may have become invalid.\n\nCode of Conduct\n---------------\n\nEveryone interacting in the distlib project's codebases, issue trackers, chat\nrooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.\n\n.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/\n\n\n",
"bugtrack_url": null,
"license": "PSF-2.0",
"summary": "Distribution utilities",
"version": "0.3.9",
"project_urls": {
"Documentation": "https://distlib.readthedocs.io/",
"Homepage": "https://github.com/pypa/distlib",
"Source": "https://github.com/pypa/distlib",
"Tracker": "https://github.com/pypa/distlib/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91a1cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87",
"md5": "3c036adfbf457b940908b649783df1fd",
"sha256": "47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87"
},
"downloads": -1,
"filename": "distlib-0.3.9-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3c036adfbf457b940908b649783df1fd",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 468973,
"upload_time": "2024-10-09T18:35:44",
"upload_time_iso_8601": "2024-10-09T18:35:44.272456Z",
"url": "https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ddd1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d",
"md5": "958df85785458fa326a07af4f9c1c328",
"sha256": "a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403"
},
"downloads": -1,
"filename": "distlib-0.3.9.tar.gz",
"has_sig": false,
"md5_digest": "958df85785458fa326a07af4f9c1c328",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 613923,
"upload_time": "2024-10-09T18:35:47",
"upload_time_iso_8601": "2024-10-09T18:35:47.551812Z",
"url": "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-09 18:35:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pypa",
"github_project": "distlib",
"travis_ci": true,
"coveralls": true,
"github_actions": true,
"appveyor": true,
"tox": true,
"lcname": "distlib"
}