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.0.tar.gz
(3.1 MB
view details)
Built Distribution
File details
Details for the file pdm_download-0.1.0.tar.gz
.
File metadata
- Download URL: pdm_download-0.1.0.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.10.4 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb67c7d427529b35765da72da06628386b83f844bbf6ce849563b792cbfe3286 |
|
MD5 | 4ba10797b983e3d8cdf94a12a949891a |
|
BLAKE2b-256 | b32593908871a5f071d3f3041f4c8d12b1ed425e3a28b6ff5dd253aee2b70ef5 |
Provenance
File details
Details for the file pdm_download-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pdm_download-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.10.4 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b18bb296a351bddd3d2b8e3b7c5bf2ccc853a3546799f820cc6beaefc917a5a |
|
MD5 | fb20292b778b9c9dbd9897405f065899 |
|
BLAKE2b-256 | 2a7593e9386a691ab55e7f389062377c110f01b8928c62c1e2b59b78e9950a59 |