Undocumented
Class |
|
A representation of the tag triple for a wheel. |
Function | compatible |
Yields the sequence of tags that are compatible with a specific version of Python. |
Function | cpython |
Yields the tags for a CPython interpreter. |
Function | generic |
Yields the tags for a generic interpreter. |
Function | interpreter |
Returns the name of the running interpreter. |
Function | interpreter |
Returns the version of the running interpreter. |
Function | mac |
Yields the platform tags for a macOS system. |
Function | parse |
Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances. |
Function | platform |
Provides the platform tags for this installation. |
Function | sys |
Returns the sequence of tag triples for the running interpreter. |
Constant | INTERPRETER |
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Variable | logger |
Undocumented |
Function | _abi3 |
Determine if the Python version supports abi3. |
Function | _cpython |
Undocumented |
Function | _generic |
Return the ABI tag based on EXT_SUFFIX. |
Function | _generic |
Undocumented |
Function | _get |
Undocumented |
Function | _linux |
Undocumented |
Function | _mac |
Undocumented |
Function | _mac |
Undocumented |
Function | _normalize |
Undocumented |
Function | _py |
Yields Python versions in descending order. |
Function | _version |
Undocumented |
Constant | _32 |
Undocumented |
Optional[ PythonVersion]
= None, interpreter: Optional[ str]
= None, platforms: Optional[ Iterable[ str]]
= None) -> Iterator[ Tag]
:
(source)
¶
Yields the sequence of tags that are compatible with a specific version of Python. The tags consist of: - py*-none-<platform> - <interpreter>-none-any # ... if `interpreter` is provided. - py*-none-any
Optional[ PythonVersion]
= None, abis: Optional[ Iterable[ str]]
= None, platforms: Optional[ Iterable[ str]]
= None, *, warn: bool
= False) -> Iterator[ Tag]
:
(source)
¶
Yields the tags for a CPython interpreter. The tags consist of: - cp<python_version>-<abi>-<platform> - cp<python_version>-abi3-<platform> - cp<python_version>-none-<platform> - cp<less than python_version>-abi3-<platform> # Older Python versions down to 3.2. If python_version only specifies a major version then user-provided ABIs and the 'none' ABItag will be used. If 'abi3' or 'none' are specified in 'abis' then they will be yielded at their normal position and not at the beginning.
Optional[ str]
= None, abis: Optional[ Iterable[ str]]
= None, platforms: Optional[ Iterable[ str]]
= None, *, warn: bool
= False) -> Iterator[ Tag]
:
(source)
¶
Yields the tags for a generic interpreter. The tags consist of: - <interpreter>-<abi>-<platform> The "none" ABI will be added if it was not explicitly provided.
Returns the name of the running interpreter. Some implementations have a reserved, two-letter abbreviation which will be returned when appropriate.
Optional[ MacVersion]
= None, arch: Optional[ str]
= None) -> Iterator[ str]
:
(source)
¶
Yields the platform tags for a macOS system. The `version` parameter is a two-item tuple specifying the macOS version to generate platform tags for. The `arch` parameter is the CPU architecture to generate platform tags for. Both parameters default to the appropriate value for the current system.
Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances. Returning a set is required due to the possibility that the tag is a compressed tag set.
Returns the sequence of tag triples for the running interpreter. The order of the sequence corresponds to priority order for the interpreter, from most to least important.
Undocumented
Value |
|