Python library to get the version of other tools
pip install universionsconda install -c conda-forge universionsIn 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)
TrueIn the command line :
>>> universions java
11.0
>>> universions node -v
12.6.0Open an issue if you want more ! If you want to contribute read the contributing guide.