semverkit
A thin CLI wrapper for the Python package semver.
Installation and Usage
PyPI
$ pip install semverkit
$ python -m semverkit
or
$ semverkit
Docker
$ docker run --rm elmernocon/semverkit
Curl
$ curl -Ls https://github.com/elmernocon/semverkit/releases/latest/download/semverkite -o semverkit && chmod +x semverkit
$ semverkit
Usage: semverkit [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
bump Bumps a PART of VERSION.
compare Compares VERSION against OTHER.
extract Extracts a PART of VERSION.
finalize Removes any prerelease and build metadata from VERSION.
iscompatible Exits with 1 if VERSION is not compatible with OTHER.
ismatch Exits with 1 if VERSION does not match EXPRESSION.
isvalid Exits with 1 if VERSION is invalid.
replace Replaces one or more parts of VERSION.
split Splits parts of VERSION.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
semverkit-1.1.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semverkit-1.1.0.tar.gz.
File metadata
- Download URL: semverkit-1.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15885338ba339167a2e93ddb5a66022ed9c0284a6c5f09ac9532edcf98802927
|
|
| MD5 |
da1ecd9f65dafa5123a882c48dd2fb0b
|
|
| BLAKE2b-256 |
7f46713a4e60fc0c2f412999937434546f34d5b1958367cc464735bd99aa2f03
|
File details
Details for the file semverkit-1.1.0-py3-none-any.whl.
File metadata
- Download URL: semverkit-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9363c3d87e16a71bfadd436252c892f57e0f77deedb90861893beaa41e3e3fbc
|
|
| MD5 |
8d0db9b8faeed39b28394a502541e2d7
|
|
| BLAKE2b-256 |
0e748002717d5ca81c204c46d20226dff93ba404a7c6a8c95ae6cd746f4faef9
|