Skip to main content

universions

Python library to get the version of other tools

PyPI pyversions
PyPI version
Anaconda-Server Badge
Code style: black

Read the documentation

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.

Release files for universions 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for universions 0.5.0
File Size Uploaded
universions-0.5.0.tar.gz 13.0 kB Details

Release files / universions-0.5.0.tar.gz

Download URL universions-0.5.0.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3030ee9471f5c61a194fe895c273c3f411b93cfbfacfb1374c0904f27d60414b
BLAKE2b-256 checksum
How to use checksums
fe2eb578ad1461fb131c0e4be0306428b9a696d54cf866f02b82f0827b59909f
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/42.0.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page