peodd
poetry export, but only for dev-dependencies
Script to export the pyproject.toml dev-dependencies to a txt file.
This software is licensed under GPL3 or later.
Note: Right now, this tool supports only some poetry formats of the dependencies (see below)
foo = "^1.2.3"bar = ">=1.2.3"bas = {extras = ["bar"], version = "^1.2.3"}baz = "1.2.3"
I would be interested to add support for more formats, please open an issue incase if you need any other.
Requirements
- Python >= 3.6
- Poetry >= 1.0
- tomli >= 1.0.4
- Click >= 7.0.0
- release-tools >= 0.3.0
Installation
PyPI
You can install the package directly using pip.
$ pip install peodd
Getting the source code
Clone the repository
$ git clone https://github.com/vchrombie/peodd/
$ cd peodd/
Prerequisites
Poetry
We use Poetry for managing the project. You can install it following these steps.
We use Bitergia/release-tools for managing the releases. This is also used in the project, so you need not install it again.
Installation
Install the required dependencies (this will also create a virtual environment)
$ poetry install
Activate the virtual environment
$ poetry shell
Usage
Once you install the tool, you can use it with the peodd command.
$ peodd --help
Usage: peodd [OPTIONS]
Script to export the pyproject.toml dev-dependencies to a txt file.
Options:
-o, --output TEXT Output filename for the dependencies [required]
--non-dev Export non-dev dependencies [default: False]
--help Show this message and exit.
Export the dev-dependencies to requirements-dev.txt file
$ peodd -o requirements-dev.txt
Export the non-dev dependencies to requirements.txt file
$ peodd --non-dev -o requirements.txt
Contributions
All contributions are welcome. Please feel free to open an issue or a PR. If you are opening any PR for the code, please be sure to add a changelog entry.
License
Licensed under GNU General Public License (GPL), version 3 or later.
Metadata
Release files for peodd 0.4.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 |
|---|---|---|---|---|
| peodd-0.4.0.tar.gz | 18.3 kB | Without provenance | Details for peodd-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| peodd-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for peodd-0.4.0-py3-none-any.whl |
Total release size: 34.8 kB
Release files / peodd-0.4.0.tar.gz
| Download URL | peodd-0.4.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60981069c4e7687c1a057a2d1f76d6a63566805f396e3f6a3a7c9a8df8782d8f
|
|
BLAKE2b-256 checksum How to use checksums |
13eff672d20ccdcaae63e35424302b607da44510840e32c844975cd51713d09a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure
|
Release files / peodd-0.4.0-py3-none-any.whl
| Download URL | peodd-0.4.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4be8cd3a3be19099bec5c4d157746b797e3287cdc878318b5391f9d09f0f0e8
|
|
BLAKE2b-256 checksum How to use checksums |
02e4e5c5d7e006721bf1a6ac06a64afaa73db4a40c9bb2cbc7bcf4022ef85555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure
|
Security for peodd 0.4.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.