Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiencelier/universions
Python library to get the version of other softwares
https://github.com/fabiencelier/universions
pypi python-library version versions versions-checker
Last synced: 10 days ago
JSON representation
Python library to get the version of other softwares
- Host: GitHub
- URL: https://github.com/fabiencelier/universions
- Owner: fabiencelier
- License: apache-2.0
- Created: 2019-10-28T18:53:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:48:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T15:49:27.400Z (25 days ago)
- Topics: pypi, python-library, version, versions, versions-checker
- Language: Python
- Homepage: https://universions.readthedocs.io/en/latest/install.html
- Size: 155 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# universions
Python library to get the version of other tools
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/universions.svg)](https://pypi.python.org/pypi/universions/)
[![PyPI version](https://badge.fury.io/py/universions.svg)](https://badge.fury.io/py/universions)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/universions/badges/version.svg)](https://anaconda.org/conda-forge/universions)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[Read the documentation](https://universions.readthedocs.io/en/latest/index.html)
## Install
### with pip
```bash
pip install universions
```### with conda
```bash
conda install -c conda-forge universions
```## Examples
In python code :
```python
>>> 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 :
```bash
>>> universions java
11.0
>>> universions node -v
12.6.0
```## Languages and other tools supported
- [Git](https://universions.readthedocs.io/en/latest/tools/git.html)
- [Java](https://universions.readthedocs.io/en/latest/tools/java.html)
- [Node](https://universions.readthedocs.io/en/latest/tools/node.html)
- [Npm](https://universions.readthedocs.io/en/latest/tools/npm.html)
- [Pip](https://universions.readthedocs.io/en/latest/tools/pip.html)
- [Python](https://universions.readthedocs.io/en/latest/tools/python.html)Open an issue if you want more !
If you want to contribute read the [contributing guide](https://github.com/fabiencelier/universions/blob/master/CONTRIBUTING.md).