Name Description Size
__init__.py 496
_elffile.py ELF file parser. This provides a class ``ELFFile`` that parses an ELF executable in a similar interface to ``ZipFile``. Only the read interface is implemented. Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html 3282
_manylinux.py Primary implementation of glibc_version_string using os.confstr. 9586
_musllinux.py PEP 656 support. This module implements logic to detect if the currently running Python is linked against musl, and what musl version is used. 2694
_parser.py Handwritten parser of dependency specifiers. The docstring for each __parse_* function contains EBNF-inspired grammar representing the implementation. 10236
_structures.py 1431
_tokenizer.py The provided source text could not be parsed correctly. 5273
markers.py An invalid marker was found, users should refer to PEP 508. 10671
metadata.py A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11. If :external:exc:`ExceptionGroup` is already defined by Python itself, that version is used instead. 32349
py.typed 0
requirements.py An invalid requirement was found, users should refer to PEP 508. 2947
specifiers.py .. testsetup:: from packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier from packaging.version import Version 39714
tags.py A representation of the tag triple for a wheel. Instances are considered immutable and thus are hashable. Equality checking is also supported. 18883
utils.py An invalid distribution name; users should refer to the packaging user guide. 5287
version.py .. testsetup:: from packaging.version import parse, Version 16198