Skip to main content

Get version of other tools.

Project description

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

universions-0.2.2.dev201911111535.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file universions-0.2.2.dev201911111535.tar.gz.

File metadata

  • Download URL: universions-0.2.2.dev201911111535.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for universions-0.2.2.dev201911111535.tar.gz
Algorithm Hash digest
SHA256 560bfcbca7684db877eb59148acebc5331ad5ec9c36665ed898a56e8ef3efedc
MD5 d9bd8659abcb899965df116f0a560452
BLAKE2b-256 c6c23c0b8ce6a58010df25d13b531c8cbc4bb0e1adb6a90f47be48e775a19c93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page