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.
Metadata
Release files for universions 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| universions-0.3.0.tar.gz | 11.5 kB | Details |
Release files / universions-0.3.0.tar.gz
| Download URL | universions-0.3.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d3482c02436d781a1dd84b6b10f05e00e74aafa9c7e630a2d6f8762dfe481bf
|
|
BLAKE2b-256 checksum How to use checksums |
7e53de4ca05f046bd79dcb1fc80fe5a17a98efcd0ab6586c247f4e694a1fc49a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
|