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.2.tar.gz
(3.1 MB
view details)
Built Distribution
File details
Details for the file pdm_download-0.1.2.tar.gz
.
File metadata
- Download URL: pdm_download-0.1.2.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049f41bc932086f7ae6a71820954f34c49aebe0a3f6870949b8c7903ee9e42c2 |
|
MD5 | 679347ea6f3e3a3afd391c07633b22c4 |
|
BLAKE2b-256 | 4583b6f3433e608ed178e30c20a1b587e4a3721b286cdf9fb876deca8bfac0b2 |
Provenance
File details
Details for the file pdm_download-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pdm_download-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bf6d003f62e52a8e08f51d7fa67ce8c5d714f2b96a0a33517976d12d629203 |
|
MD5 | de66de25e17d956de97bd6f22501ba73 |
|
BLAKE2b-256 | a0f529e4f184d7a251b366409026fa7dd643157da853893bf0e1910c1ac3b33f |