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'
--python PYTHON Download packages for the given Python range. E.g. '>=3.9'
--platform PLATFORM Download packages for the given platform. E.g. 'linux'
--implementation IMPLEMENTATION
Download packages for the given implementation. E.g. 'cpython', 'pypy'
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.2.0.tar.gz
(3.1 MB
view details)
Built Distribution
File details
Details for the file pdm_download-0.2.0.tar.gz
.
File metadata
- Download URL: pdm_download-0.2.0.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286372fd5c18dd4b4417dcbe320089b78de341c5d402137072637eb0066c1e10 |
|
MD5 | 7a20d4a09983150aaabf56a15c71cddf |
|
BLAKE2b-256 | f67788a0f6722a255045f76a6ffa9a8ad3efc2cd5ceba64750e91c4b214f0a89 |
Provenance
File details
Details for the file pdm_download-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pdm_download-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894b1a55308b1e5b9719ff50c8175914242eef2ce1a62f72614612f39fb2d431 |
|
MD5 | 51043ca8e4d325c817f2f5a13449a2fd |
|
BLAKE2b-256 | e3d9230b39e57ef0dcc7f6e6ae6392cf53edffa7213200c5566d6be6c839a3ea |