version#
- exception GitRepoNotFoundError#
Bases:
Exception
- exception CannotDetermineVersionFromGitError#
Bases:
Exception
- is_editable(dist_name: str = 'hpc-connect') bool#
Best-effort PEP 610 editable detection via direct_url.json. Returns False if unavailable.
- git_local_label() str#
- get_version_info() tuple[int, int, int, str]#
For non-editable installs: returns metadata version triplet and local (if any). For editable installs: uses metadata triplet, but local becomes ‘g<sha>[.dirty]’.
- get_version() str#
- version: str = '26.5.10'#
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
- version_info: tuple[int, int, int, str] = (26, 5, 10, '')#
Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.