Get version of other tools.
Project description
universions
Python library to get the version of other tools
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
- Java
- Node
- Pip
- Python
Open an issue if you want more ! If you want to contribute read the contributing guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for universions-0.3.0.dev201911111716.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b875c9a02fb54dab63aab17d86200b3fb53562cee2fc19c63104b00f806171e1 |
|
MD5 | 988d07c0be1f43a8f822ecbebb094365 |
|
BLAKE2b-256 | 7b2c021fccc249290c632b8e8d8a0a25dfaeab496efe0a9dbbea2b263f90818a |