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.2.2.dev201911111715.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da1b997199e60dc590c6e1f10c4d6c748e5d6f081f1c9067a1ec304f91bdb01 |
|
MD5 | a16324a87f9fb0c869781023c8fa8dc1 |
|
BLAKE2b-256 | 61ec22e1c088215f897c688f956c95bc6581434b93759163725747a9e70da847 |