semantic-version-check 1.0.2

Creator: bradpython12

Last updated:

0 purchases

semantic-version-check 1.0.2 Image
semantic-version-check 1.0.2 Images

Languages

Categories

Add to Cart

Description:

semanticversioncheck 1.0.2

SEMANTIC-VERSION-CHECKER
Check if a ‘version’ is a valid Semantic Version.






Code: https://github.com/boromir674/semantic-version-check
Docs: https://semantic-version-check.readthedocs.io/en/master/
PyPI: https://pypi.org/project/semantic-version-check/
CI: https://github.com/boromir674/semantic-version-check/actions/


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

Code Coverage measuring
Build Command, using the build python package
Pypi Deploy Command, supporting upload to both pypi.org and test.pypi.org servers
Type Check Command, using mypy
Lint Check and Apply commands, using isort and black


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

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


GNU Affero General Public License v3.0



License

Free software: GNU Affero General Public License v3.0

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.