Get version of other tools.


Keywords
version, versions, universal, pypi, python-library, versions-checker
License
Other
Install
pip install universions==0.5.0.dev201911241343

Documentation

universions

Python library to get the version of other tools

PyPI pyversions
PyPI version
Anaconda-Server Badge
Code style: black

Read the documentation

Install

with pip

pip install universions

with conda

conda install -c conda-forge universions

Examples

In python code :

>>> from universions.java import get_java_version
>>> get_java_version()
Version(major=10, minor=0, patch=2, prerelease=None, build=None)
>>> get_java_version() > (1, 8)
True

In the command line :

>>> universions java
11.0
>>> universions node -v
12.6.0

Languages and other tools supported

Open an issue if you want more ! If you want to contribute read the contributing guide.