Parsing, inspecting and specifying versions.
pip install versionsversions
Parsing, inspecting and specifying versions.
Installing
Python 3.8 or above is required.
pip
Installing the library with pip is quite simple:
$ pip install versions
Alternatively, the library can be installed from source:
$ git clone https://github.com/nekitdev/versions.git
$ cd versions
$ python -m pip install .
poetry
You can add versions as a dependency with the following command:
$ poetry add versions
Or by directly specifying it in the configuration like so:
[tool.poetry.dependencies]
versions = "^2.1.2"
Alternatively, you can add it directly from the source:
[tool.poetry.dependencies.versions]
git = "https://github.com/nekitdev/versions.git"
Examples
Versions
is used to parse versions: