module documentation

Undocumented

Exception InvalidSdistFilename An invalid sdist filename was found, users should refer to the packaging user guide.
Exception InvalidWheelFilename An invalid wheel filename was found, users should refer to PEP 427.
Function canonicalize_name Undocumented
Function canonicalize_version This is very similar to Version.__str__, but has one subtle difference with the way it handles the release segment.
Function parse_sdist_filename Undocumented
Function parse_wheel_filename Undocumented
Type Alias BuildTag Undocumented
Variable NormalizedName Undocumented
Variable _build_tag_regex Undocumented
Variable _canonicalize_regex Undocumented
def canonicalize_name(name: str) -> NormalizedName: (source)

Undocumented

def canonicalize_version(version: Union[Version, str], *, strip_trailing_zero: bool = True) -> str: (source)

This is very similar to Version.__str__, but has one subtle difference with the way it handles the release segment.

def parse_sdist_filename(filename: str) -> Tuple[NormalizedName, Version]: (source)

Undocumented

def parse_wheel_filename(filename: str) -> Tuple[NormalizedName, Version, BuildTag, FrozenSet[Tag]]: (source)

Undocumented

BuildTag = (source)

Undocumented

Value
Union[Tuple[], Tuple[int, str]]
NormalizedName = (source)

Undocumented

_build_tag_regex = (source)

Undocumented

_canonicalize_regex = (source)

Undocumented