Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: distlib
3 Version: 0.4.3
4 Summary: Distribution utilities
5 Home-page: https://github.com/pypa/distlib
6 Author: Vinay Sajip
7 Author-email: [email protected]
8 License: PSF-2.0
9 Project-URL: Documentation, https://distlib.readthedocs.io/
10 Project-URL: Source, https://github.com/pypa/distlib
11 Project-URL: Tracker, https://github.com/pypa/distlib/issues
12 Platform: any
13 Classifier: Development Status :: 5 - Production/Stable
14 Classifier: Environment :: Console
15 Classifier: Intended Audience :: Developers
16 Classifier: License :: OSI Approved :: Python Software Foundation License
17 Classifier: Operating System :: OS Independent
18 Classifier: Programming Language :: Python
19 Classifier: Programming Language :: Python :: 2
20 Classifier: Programming Language :: Python :: 3
21 Classifier: Programming Language :: Python :: 2.7
22 Classifier: Programming Language :: Python :: 3.6
23 Classifier: Programming Language :: Python :: 3.7
24 Classifier: Programming Language :: Python :: 3.8
25 Classifier: Programming Language :: Python :: 3.9
26 Classifier: Programming Language :: Python :: 3.10
27 Classifier: Programming Language :: Python :: 3.11
28 Classifier: Programming Language :: Python :: 3.12
29 Classifier: Programming Language :: Python :: 3.13
30 Classifier: Programming Language :: Python :: 3.14
31 Classifier: Topic :: Software Development
32 License-File: LICENSE.txt
33 Dynamic: license-file
34
35 |badge1| |badge2|
36
37 .. |badge1| image:: https://img.shields.io/github/actions/workflow/status/pypa/distlib/package-tests.yml
38 :alt: GitHub Workflow Status (with event)
39
40 .. |badge2| image:: https://img.shields.io/codecov/c/github/pypa/distlib
41 :target: https://app.codecov.io/gh/pypa/distlib
42 :alt: GitHub coverage status
43
44 What is it?
45 -----------
46
47 Distlib is a library which implements low-level functions that relate to
48 packaging and distribution of Python software. It is intended to be used as the
49 basis for third-party packaging tools. The documentation is available at
50
51 https://distlib.readthedocs.io/
52
53 Main features
54 -------------
55
56 Distlib currently offers the following features:
57
58 * The package ``distlib.database``, which implements a database of installed
59 distributions, as defined by :pep:`376`, and distribution dependency graph
60 logic. Support is also provided for non-installed distributions (i.e.
61 distributions registered with metadata on an index like PyPI), including
62 the ability to scan for dependencies and building dependency graphs.
63 * The package ``distlib.index``, which implements an interface to perform
64 operations on an index, such as registering a project, uploading a
65 distribution or uploading documentation. Support is included for verifying
66 SSL connections (with domain matching) and signing/verifying packages using
67 GnuPG.
68 * The package ``distlib.metadata``, which implements distribution metadata as
69 defined by :pep:`643`, :pep:`566`, :pep:`345`, :pep:`314` and :pep:`241`.
70 * The package ``distlib.markers``, which implements environment markers as
71 defined by :pep:`508`.
72 * The package ``distlib.manifest``, which implements lists of files used
73 in packaging source distributions.
74 * The package ``distlib.locators``, which allows finding distributions, whether
75 on PyPI (XML-RPC or via the "simple" interface), local directories or some
76 other source.
77 * The package ``distlib.resources``, which allows access to data files stored
78 in Python packages, both in the file system and in .zip files.
79 * The package ``distlib.scripts``, which allows installing of scripts with
80 adjustment of shebang lines and support for native Windows executable
81 launchers.
82 * The package ``distlib.version``, which implements version specifiers as
83 defined by :pep:`440`, but also support for working with "legacy" versions and
84 semantic versions.
85 * The package ``distlib.wheel``, which provides support for building and
86 installing from the Wheel format for binary distributions (see :pep:`427`).
87 * The package ``distlib.util``, which contains miscellaneous functions and
88 classes which are useful in packaging, but which do not fit neatly into
89 one of the other packages in ``distlib``.* The package implements enhanced
90 globbing functionality such as the ability to use ``**`` in patterns to
91 specify recursing into subdirectories.
92
93
94 Python version and platform compatibility
95 -----------------------------------------
96
97 Distlib is intended to be used on and is tested on Python versions 2.7 and 3.6 or later,
98 pypy-2.7 and pypy3 on Linux, Windows, and macOS.
99
100 Project status
101 --------------
102
103 The project has reached a mature status in its development: there is a comprehensive
104 test suite and it has been exercised on Windows, Ubuntu and macOS. The project is used
105 by well-known projects such as `pip <https://pypi.org/pypi/pip>`_ and `caniusepython3
106 <https://pypi.org/pypi/caniusepython3>`_.
107
108 This project was migrated from Mercurial to Git and from BitBucket to GitHub, and
109 although all information of importance has been retained across the migration, some
110 commit references in issues and issue comments may have become invalid.
111
112 Code of Conduct
113 ---------------
114
115 Everyone interacting in the distlib project's codebases, issue trackers, chat
116 rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
117
118 .. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/