shippinglabel
Utilities for handling packages.
Functions:
|
Returns the web links for the given project. |
|
Returns the subset of |
|
Returns the subset of |
|
Normalize the given name for PyPI et al. |
|
Normalize the given name for PyPI et al., but keep dots in namespace packages. |
|
Reads the |
-
get_project_links
(project_name, path=None)[source] Returns the web links for the given project.
The exact keys vary, but common keys include “Documentation” and “Issue Tracker”.
New in version 0.12.0.
- Parameters
- Return type
Changed in version 1.0.0: Now returns a
dist_meta.metadata_mapping.MetadataMapping
object.Changed in version 1.2.0: The Home-Page field from Python core metadata is included under the
Homepage
key, if present. This matches the output parsed from PyPI for packages which are not installed.Changed in version 1.7.0: Added the
path
argument.
-
no_pre_versions
(versions)[source] Returns the subset of
versions
which are not prereleases (alpha, beta, dev, rc etc.).New in version 0.15.0.