Skip to main content

Semantic Versioning CLI

Project description

semverkit

PyPI - Python Version PyPI - Version Static Badge GitHub License Docker Image Size (tag)

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.

Project details


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)

Uploaded Source

Built Distribution

semverkit-1.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

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

Hashes for semverkit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 15885338ba339167a2e93ddb5a66022ed9c0284a6c5f09ac9532edcf98802927
MD5 da1ecd9f65dafa5123a882c48dd2fb0b
BLAKE2b-256 7f46713a4e60fc0c2f412999937434546f34d5b1958367cc464735bd99aa2f03

See more details on using hashes here.

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

Hashes for semverkit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9363c3d87e16a71bfadd436252c892f57e0f77deedb90861893beaa41e3e3fbc
MD5 8d0db9b8faeed39b28394a502541e2d7
BLAKE2b-256 0e748002717d5ca81c204c46d20226dff93ba404a7c6a8c95ae6cd746f4faef9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page