A PDM plugin to download all packages in a lockfile for offline use.
Project description
pdm-download
A PDM plugin to download all packages in a lockfile for offline use.
Installation
pdm self add pdm-download
Usage
This plugin adds a new command pdm download
, with the following options:
pdm download --help
Usage: pdm download [-h] [-L LOCKFILE] [-v | -q] [-g] [-p PROJECT_PATH] [-d DEST]
Download all packages from a lockfile for offline use
Options:
-h, --help Show this help message and exit.
-L LOCKFILE, --lockfile LOCKFILE
Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]
-v, --verbose Use `-v` for detailed output and `-vv` for more detailed
-q, --quiet Suppress output
-g, --global Use the global project, supply the project root with `-p` option
-p PROJECT_PATH, --project PROJECT_PATH
Specify another path as the project root, which changes the base of pyproject.toml and __pypackages__ [env var: PDM_PROJECT]
-d DEST, --dest DEST The destination directory, default to './packages'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdm_download-0.1.1.tar.gz
(3.1 MB
view hashes)
Built Distribution
Close
Hashes for pdm_download-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ab27fcb80e5381cbd9153e6adbfeb277addc754287031a660092f0686fc7ea |
|
MD5 | 86887c5b0333a7d5bb8553b6daa1225f |
|
BLAKE2b-256 | 1137ff2962c05e3f8d7a330c8698fac9e0710bbcb3a983a6abdf1fc6e57841ae |