About
pyrelease-cli is a simple CLI tool for building and publishing Python packages.
- Python: 3.8+
Installation
Install with pipx
pipx installs the application in an isolated environment while making
the command globally available.
pip install pipx
pipx ensurepath
pipx install pyrelease-cli
Quick Start
Before using it, make sure your project contains a valid pyproject.toml and that you have configured your PyPI credentials.
Publish a package
pyrelease
This command will:
- Create the
history/directory if it does not exist. - Move existing files in
dist/tohistory/. - Remove build cache (
*.egg-info/). - Build the package using:
python -m build - Upload all generated distributions to PyPI using:
python -m twine upload dist/*
Build only
Build the package without uploading it.
pyrelease --build-only
This will:
- Clean previous build artifacts.
- Build the package.
- Keep the generated files in
dist/.
Upload only
Upload existing distribution files in dist/.
pyrelease --upload-only
This is useful when a previous upload failed and you do not want to rebuild the package.
Clean build artifacts
Archive old distributions without building or uploading.
pyrelease --clean
Requirements
- Python >= 3.8
buildtwine- A valid
pyproject.toml - PyPI credentials configured for
twine
License
See LICENSE in the repository.
Links
Metadata
Release files for pyrelease-cli 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 |
|---|---|---|---|---|
| pyrelease_cli-0.2.0.tar.gz | 3.9 kB | Without provenance | Details for pyrelease_cli-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrelease_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pyrelease_cli-0.2.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / pyrelease_cli-0.2.0.tar.gz
| Download URL | pyrelease_cli-0.2.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8014a49f29b069dfa248cf49f87a217d94e4a4ea1f3d987c7aa1ca85aa186dc2
|
|
BLAKE2b-256 checksum How to use checksums |
33bc72c09b11383f0d95eb6b3a699f6c3a3b7fcc769099bd712533cdb7dc80ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / pyrelease_cli-0.2.0-py3-none-any.whl
| Download URL | pyrelease_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
120e09b63b9dfeaf26214838fa7dc2142257a238e0538656418585680841bcf6
|
|
BLAKE2b-256 checksum How to use checksums |
98c06082d62225fe9882a63db122946aa122698879d8b8d10166e0b3aabd3820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Security for pyrelease-cli 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.