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.3.tar.gz
(3.1 MB
view details)
Built Distribution
File details
Details for the file pdm_download-0.1.3.tar.gz
.
File metadata
- Download URL: pdm_download-0.1.3.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 | e76dbb7514a2e2d29120c94e39333a1d2413efbcb080172ed4d079ebb8316e56 |
|
MD5 | 76efcfd7f436235434bbc6927ebefdfa |
|
BLAKE2b-256 | 1a0c9cabdab2153ff51a4d9e737d11a70e88d5bb2859e8a131ae296164828e48 |
Provenance
File details
Details for the file pdm_download-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pdm_download-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.3 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 | 3ab60d5a0f4f298f66e1e837180fa2ff0fc08bbced76646869ce9f361180722e |
|
MD5 | a2b2f0b203f634b74511c5d8d6647f75 |
|
BLAKE2b-256 | e61138e4d97b2841230c808e8a817222966c3beaff96c7a60fcf6e89154a8f38 |