Skip to main content

SEMANTIC-VERSION-CHECKER

Check if a ‘version’ is a valid Semantic Version.

GitHub Workflow Status (branch) Read the Docs (version) Codecov Code Climate Maintainability Better Code Hub Technical Debt
Production Version PyPI - Wheel Supported Python versions GitHub GitHub commits since tagged version (branch) GitHub commits since latest release (by SemVer)

Features

  1. semantic_version_check python package

    1. CLI that can be usefull for quick checks, a script or in a CI pipeline

    2. Semantic Version format check, using Regular Expressions

  2. Tested against multiple platforms and python versions

Development

Here are some useful notes related to doing development on this project.

  1. Test Suite, using pytest, located in tests dir

  2. Parallel Execution of Unit Tests, on multiple cpu’s

  3. Documentation Pages, hosted on readthedocs server, located in docs dir

  4. Automation, using tox, driven by single tox.ini file

    1. Code Coverage measuring

    2. Build Command, using the build python package

    3. Pypi Deploy Command, supporting upload to both pypi.org and test.pypi.org servers

    4. Type Check Command, using mypy

    5. Lint Check and Apply commands, using isort and black

  5. CI Pipeline, running on Github Actions, defined in .github/

    1. Job Matrix, spanning different platform’s and python version’s

      1. Platforms: ubuntu-latest, macos-latest

      2. Python Interpreters: 3.6, 3.7, 3.8, 3.9, 3.10

    2. Parallel Job execution, generated from the matrix, that runs the Test Suite

Prerequisites

You need to have Python installed.

Quickstart

Using pip is the approved way for installing semantic_version_check.

python3 -m pip install semantic_version_check
One Use Case for the semantic_version_check is to invoke its cli, through a console
and do SemVer check on a single input string.

Open a console and run:

check-semantic-version 1.0.0
echo $?
echo "Exit code is 0 meaning operation succeeded"

check-semantic-version 1.3
echo $?
echo "Exit code is 1, meaning operation failed"

License

GitHub

License

  • Free software: GNU Affero General Public License v3.0

Metadata

Release files for semantic-version-check 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for semantic-version-check 1.0.2
File Size Uploaded Provenance
semantic_version_check-1.0.2.tar.gz 26.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for semantic-version-check 1.0.2
File Interpreter ABI Platform
semantic_version_check-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / semantic_version_check-1.0.2.tar.gz

Download URL semantic_version_check-1.0.2.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
32654747a9eea53d1459258c88b6b2961ba35c8afbd594c7113df629f9bfe072
BLAKE2b-256 checksum
How to use checksums
c81260d298c9e36122add31e4cff1be093923927aee066c8d1db5e006dd677b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/4.11.3 packaging/21.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

Release files / semantic_version_check-1.0.2-py3-none-any.whl

Download URL semantic_version_check-1.0.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9177042cc3e121401afde69083081897e47d251689514acb9c51a1a7cda84d80
BLAKE2b-256 checksum
How to use checksums
5960e22245ec0ec226468ab70553fb07f16f13676001a822be5935e69b9307d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/4.11.3 packaging/21.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

Security for semantic-version-check 1.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page