unearth
#
Find and download packages from a PEP 508 requirement string.
usage: unearth [-h] [--verbose] [--index-url URL] [--find-link LOCATION]
[--trusted-host HOST] [--no-binary] [--only-binary]
[--prefer-binary] [--all] [--link-only] [--download [DIR]]
[--python-version PY_VER] [--abis ABIS] [--implementation IMPL]
[--platforms PLATFORMS]
requirement
Positional Arguments#
- requirement
A PEP 508 requirement string, e.g. ‘requests>=2.18.4’.
Named Arguments#
- --verbose, -v
Enable verbose logging.
Default: False
- --index-url, -i
(Multiple)(PEP 503)Simple Index URLs.
- --find-link, -f
(Multiple)URLs or locations to find links from.
- --trusted-host
(Multiple)Trusted hosts that should skip the verification.
- --no-binary
Exclude binary packages from the results.
Default: False
- --only-binary
Only include binary packages in the results.
Default: False
- --prefer-binary
Prefer binary packages even if sdist candidates of newer versions exist.
Default: False
- --all
Return all applicable versions.
Default: False
- --link-only, -L
Only return links instead of a JSON object.
Default: False
- --download, -d
Download the package(s) to DIR.
Target Python options#
- --python-version, --py
Target Python version. e.g. 3.11.0
- --abis
Comma-separated list of ABIs. e.g. cp39,cp310
- --implementation, --impl
Python implementation. e.g. cp,pp,jy,ip
- --platforms
Comma-separated list of platforms. e.g. win_amd64,linux_x86_64