pdm-autoexport
A PDM plugin to sync the exported files with the project file.
Installation
Install the plugin with PDM CLI:
pdm plugin add pdm-autoexport
Or using pipx inject:
pipx inject pdm pdm-autoexport
Usage
Configure the requirement mapping in pyproject.toml:
[[tool.pdm.autoexport]]
filename = "requirements/prod.txt"
groups = ["default"]
[[tool.pdm.autoexport]]
filename = "setup.py"
format = "setuppy"
Then the requirement files will be synced every time when the lock file is updated.
Configuration
The configuration is an array of table [[tool.pdm.autoexport]] where each item may contain the following keys:
filename(required): The path to the exported file.groups(optional, default:["default"]): The groups of optional dependencies or dev dependency groups of PDM to sync with.format(optional, default:"requirements"): The format of the exported file, same as the--formatoption to thepdm exportcommand. Onlyrequirementsandsetuppyare supported.without-hashes(optional, default:false): Whether to remove the hashes from the exported file. Only applicable torequirementsformat.
Metadata
Release files for pdm-autoexport 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdm_autoexport-0.2.0.tar.gz | 3.5 kB | Without provenance | Details for pdm_autoexport-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdm_autoexport-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pdm_autoexport-0.2.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / pdm_autoexport-0.2.0.tar.gz
| Download URL | pdm_autoexport-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7bd49c39cfc8a35dcd648f11e00817c3e1cb4764cb6501ab9d11a621934feac
|
|
BLAKE2b-256 checksum How to use checksums |
ba09bca46c627fca49ade329c043e9944a5e6e338e9928b6269cc92b0d15dcae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pdm_autoexport-0.2.0-py3-none-any.whl
| Download URL | pdm_autoexport-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
385dd748bca5031a54cb3bcfbc1f230712fb6305d8d8ae75ee30affcbf98a4fc
|
|
BLAKE2b-256 checksum How to use checksums |
4862a7f6fdd49cd8be5c1df2b5b40ae949f670b105c7da0242a0a2ae863c31c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for pdm-autoexport 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.