semvermanager
semvermamager exports a single class Version which implements
a restricted subset of the SEMVER standard.
Version defines a Semantic version using the following field
structure:
# MAJOR.MINOR.PATCH-TAG
int MAJOR # 0->N
int MINOR # 0->N
int PATCH # 0-N
str TAG # one of "alpha", "beta".
int TAG_VERSION # a version number appended to alpha or beta.
Versions may be bumped by a single increment using any of the
bump functions. Bumping a PATCH value simply increments it.
Bumping a MINOR value zeros the PATCH value and bumping a MAJOR
zeros the MINOR and the PATCH value.
semvermanager only supports Python 3.6 and greater.
semvermgr script
The package includes a command line script for generating versions.
$ semvermgr -h
usage: semvermgr.py [-h] [--version VERSION] [--make]
[--bump {major,minor,patch,tag,tag_version}]
[--getversion] [--bareversion] [--overwrite] [--update]
[--label LABEL] [--separator SEPARATOR]
[filenames [filenames ...]]
positional arguments:
filenames Files to use as version file
optional arguments:
-h, --help show this help message and exit
--version VERSION Specify a version in the form major.minor.patch-tag
--make Make a new version file
--bump {major,minor,patch,tag,tag_version}
Bump a version field
--getversion Report the current version in the specified file
--bareversion Return the unquoted version strin with VERSION=
--overwrite overwrite files without checking [default: False]
--update Update multiple version strings in file
--label LABEL field used to determine which line is the version line
[default: VERSION]
--separator SEPARATOR
Character used to separate the version label from the
version [default: =]
Installation
$ pip3 install semvermanager
Docs
Full docs are on readthedocs.io.
Source code
Can be found on github.com
Author: jdrumgoole on GitHub
Metadata
Release files for semvermanager 1.0.9
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 |
|---|---|---|---|---|
| semvermanager-1.0.9.tar.gz | 9.4 kB | Without provenance | Details for semvermanager-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| semvermanager-1.0.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for semvermanager-1.0.9-py2.py3-none-any.whl |
Total release size: 25.1 kB
Release files / semvermanager-1.0.9.tar.gz
| Download URL | semvermanager-1.0.9.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca27df366ccb977cd399413f371c169668950af0137f49450d52084f2a1e3018
|
|
BLAKE2b-256 checksum How to use checksums |
be1066789e547367263a4c7681992a5f64d35fea59bcfe938026e431f46c9be8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Release files / semvermanager-1.0.9-py2.py3-none-any.whl
| Download URL | semvermanager-1.0.9-py2.py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f501aefd569b6d6d2a020a139bf79c3b6bb2d9a9a78ea42b57eff36259977fd4
|
|
BLAKE2b-256 checksum How to use checksums |
3185a5eadc1edf30c9f39a5f45f708fcf7079ca931880ca87fa832df1ba83582
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Security for semvermanager 1.0.9
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.