Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdm-project/pdm-download
A PDM plugin to download all packages in a lockfile for offline use.
https://github.com/pdm-project/pdm-download
pdm-plugin
Last synced: about 2 months ago
JSON representation
A PDM plugin to download all packages in a lockfile for offline use.
- Host: GitHub
- URL: https://github.com/pdm-project/pdm-download
- Owner: pdm-project
- License: mit
- Created: 2023-12-12T12:47:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-21T05:11:19.000Z (10 months ago)
- Last Synced: 2024-04-14T07:10:26.053Z (9 months ago)
- Topics: pdm-plugin
- Language: Python
- Homepage:
- Size: 2.93 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelogithub.config.json
- License: LICENSE
Awesome Lists containing this project
- awesome-pdm - pdm-download - A PDM plugin to download all packages in a lockfile for offline use (Plugins)
README
# pdm-download
A PDM plugin to download all packages in a lockfile for offline use.
## Installation
```bash
pdm self add pdm-download
```## Usage
This plugin adds a new command `pdm download`, with the following options:
```bash
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'
```