VersionPy
Small utility to version and release your python tools. Doesn't need any configuration files.
Install
conda install -c vladsaveliev versionpy
Usage
Set version to 0.1.2, create a git tag and push:
$ bump 0.1.2
Increment bugfix (patch) component (e.g. 0.1.2 -> 0.1.3), create a git tag and push:
$ bump
Increment minor component (e.g. 0.1.3 -> 0.2), create a git tag and push:
$ bump minor
Allowed first arguments: major, minor, bugfix/patch, or exact version in format of 2 or 3-component version
with a possible pre-prerelease component:
- 1.0.0
- 2.1
- 2.0pre
- 2.0.2a1
For a tracked tool, you can check current version with a single command:
$ version
0.2
Under the hood
VersionPy tracks the version number in the file your_package/_version.py.
When you run it for the first time, VersionPy would try to locate _version.py, or VERSION.txt, and if needed initialize _version.py it in the main package.
If you have several packages in the project and want to store _version.py in a particular one, use -p:
bump 0.0.1 -p your_package
If the version argument is ommited, will set the version to 0.0.
Metadata
Release files for versionpy 0.4.11
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 | |
|---|---|---|---|---|
| versionpy-0.4.11.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| versionpy-0.4.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / versionpy-0.4.11.tar.gz
| Download URL | versionpy-0.4.11.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93b298bb6a1c571817bb3923986ec5066c5a6c275272fd9c2f4fa3cef7c1f9b6
|
|
BLAKE2b-256 checksum How to use checksums |
376420ed7ecb677e62f1af5b03c50f7a64780feaf93e5eebbbfa9725c5d1b888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / versionpy-0.4.11-py3-none-any.whl
| Download URL | versionpy-0.4.11-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
583f72f02515eac4e6c87838b4a620c5d32f6ded021cc2f24e2b392231ec7aa9
|
|
BLAKE2b-256 checksum How to use checksums |
f187dc6d453a0f4bb22c54b1a11ed6e8ce8826f88424437c12fbf610a6615223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for versionpy 0.4.11
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.