tyrannosaurus.helpers
Various support code / utils.
Original source: https://github.com/dmyersturnbull/tyrannosaurus Copyright 2020–2021 Douglas Myers-Turnbull Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0
Module Contents
- class tyrannosaurus.helpers.PyPiHelper
- _extract_version(version: str) Optional[str]
- get_version(name: str) str
- new_versions(pkg_versions: Mapping[str, str]) Mapping[str, Tuple[str, str]]
- class tyrannosaurus.helpers.TrashList(dists: bool, aggressive: bool)
- get_list() Sequence[str]
- get_patterns() Sequence[re.Pattern]
- should_delete(p: pathlib.Path) bool