Skip to main content

universions

Python library to get the version of other tools

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

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
  • Python

Open an issue if you want more !

Metadata

Release files for universions 0.2.2

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.2.2
File Size Uploaded
universions-0.2.2.tar.gz 10.7 kB Details

Release files / universions-0.2.2.tar.gz

Download URL universions-0.2.2.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
24b72ce1902d18222c38104520b1396adac4c130e1fb20f8e51ed7c7bfdbf88c
BLAKE2b-256 checksum
How to use checksums
ac8619936013ebb5c8b527a5df725442659bb90bea0bc4cb78f37ed8f714d8a0
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

Release history Release notifications | RSS feed

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

This release

0.2.2 This release

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