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
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
universions-0.5.0.tar.gz
(13.0 kB
view details)
File details
Details for the file universions-0.5.0.tar.gz.
File metadata
- Download URL: universions-0.5.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3030ee9471f5c61a194fe895c273c3f411b93cfbfacfb1374c0904f27d60414b
|
|
| MD5 |
bb56964b99459af6f3c1b21709565d58
|
|
| BLAKE2b-256 |
fe2eb578ad1461fb131c0e4be0306428b9a696d54cf866f02b82f0827b59909f
|