SEMANTIC-VERSION-CHECKER
Check if a ‘version’ is a valid Semantic Version.
Features
semantic_version_check python package
CLI that can be usefull for quick checks, a script or in a CI pipeline
Semantic Version format check, using Regular Expressions
Tested against multiple platforms and python versions
Development
Here are some useful notes related to doing development on this project.
Test Suite, using pytest, located in tests dir
Parallel Execution of Unit Tests, on multiple cpu’s
Documentation Pages, hosted on readthedocs server, located in docs dir
Automation, using tox, driven by single tox.ini file
CI Pipeline, running on Github Actions, defined in .github/
Job Matrix, spanning different platform’s and python version’s
Platforms: ubuntu-latest, macos-latest
Python Interpreters: 3.6, 3.7, 3.8, 3.9, 3.10
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
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
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| semantic_version_check-1.0.2.tar.gz | 26.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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.