This release is a pre-release and may not be stable for production use.
Pyproject Version
A tool to manage the version of your Python project.
(Note: This is a work in progress and currently only supports Poetry based projects.)
Installation
pip install pyproject-version
Usage
By default, this tool will only change the version in the pyproject.toml file located in the current directory. If you want to change the version in a different directory, use the --project-root option.
To sync the version in the pyproject.toml file with the version in the __init__.py file of the project, add the following to the pyproject.toml file:
[tool.pyproject-version]
files = ["my_project/__init__.py"]
Version Bump
pyproject-version bump [OPTIONS] {major|minor|patch|prerelease|build}
Options:
-
-r,--project-rootDIRECTORYThe root of the Python project.
-
-t,--tokenTEXTThe token to use for pre-release and build versions.
-
--dry-runPrint the new version without updating.
License
MIT License, see LICENSE for more information.
Metadata
Release files for pyproject-version 0.1.0.dev1
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 |
|---|---|---|---|---|
| pyproject_version-0.1.0.dev1.tar.gz | 4.1 kB | Without provenance | Details for pyproject_version-0.1.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyproject_version-0.1.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for pyproject_version-0.1.0.dev1-py3-none-any.whl |
Total release size: 9.1 kB
Release files / pyproject_version-0.1.0.dev1.tar.gz
| Download URL | pyproject_version-0.1.0.dev1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae6dca20b400f7706b569a5eb00ce7732f4e106129219c5f20c2cd87372c7770
|
|
BLAKE2b-256 checksum How to use checksums |
4124160d88d3a6d15ba5da513eecbbba7c8176d4a5e883e3299869df088bbbc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.8 Linux/6.5.0-28-generic
|
Release files / pyproject_version-0.1.0.dev1-py3-none-any.whl
| Download URL | pyproject_version-0.1.0.dev1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68a9136077d89b49ce482b82fec16edd5de81b13b714e527d5fd4df3a3cad61c
|
|
BLAKE2b-256 checksum How to use checksums |
c231cc3afa91e69ed4d1d1fe098a23d1b92b44ce31bb195dcacbc23a6df6cd0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.8 Linux/6.5.0-28-generic
|
Security for pyproject-version 0.1.0.dev1
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.