|
|
None | __init__ (self, str version) |
| |
|
str | __repr__ (self) |
| |
|
str | __str__ (self) |
| |
|
int | epoch (self) |
| |
|
Tuple[int,...] | release (self) |
| |
|
Optional[Tuple[str, int]] | pre (self) |
| |
|
Optional[int] | post (self) |
| |
|
Optional[int] | dev (self) |
| |
|
Optional[str] | local (self) |
| |
|
str | public (self) |
| |
|
str | base_version (self) |
| |
|
bool | is_prerelease (self) |
| |
|
bool | is_postrelease (self) |
| |
|
bool | is_devrelease (self) |
| |
|
int | major (self) |
| |
|
int | minor (self) |
| |
|
int | micro (self) |
| |
|
int | __hash__ (self) |
| |
|
bool | __lt__ (self, "_BaseVersion" other) |
| |
|
bool | __le__ (self, "_BaseVersion" other) |
| |
|
bool | __eq__ (self, object other) |
| |
|
bool | __ge__ (self, "_BaseVersion" other) |
| |
|
bool | __gt__ (self, "_BaseVersion" other) |
| |
|
bool | __ne__ (self, object other) |
| |
|
|
| _regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE) |
| |
|
Union | _key [CmpKey, LegacyCmpKey] |
| |
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py