Get version of any tools
Project description
- Python version:
Python 3.8, 3.9, 3.10
- Source:
- Issues:
Please fill a report on github
- Platform:
This is currently only available for Linux distribution with bash shell (contributions are welcome to port the tool on MacOSX and other platforms)
Overview
Versionix is a simple tool that attemps to print on screen the version of a given standalone.
Installation
If you are in a hurry, just type:
pip install versionix --upgrade
This is pure Python so no need for fancy libraries of fancy environment.
Then, just type e.g:
versionix fastqc
DESCRIPTION
The first difficulty is that standalone applications have different ways to obtain their version information. Some require the use of a long or short argument (–version or -v), while others do not require any argument at all. In addition, display channels (stdout or stderr) and formats of the version output differs between applications. To handle these various cases, we define a dictionnary of metadata related to the different standalones. These metadata helps in the identification of the command to run, the options to use, if the information is directed to stdout or stderr and the method to parse the output to obtain the version number.
Versionix is designed to be used with all Sequana pipelines and is not intended to be universal. It will only work for tools that are registered. You can add your own standalone version in the versionix/versioniux.py file and provide a Pull Request.
Changelog
Version |
Description |
---|---|
0.2 |
simplification. Add tests. Add more tools |
0.1 |
first draft |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file versionix-0.2.0.tar.gz
.
File metadata
- Download URL: versionix-0.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.9 Linux/5.11.15-100.fc32.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3adc399700e1dceadd411b587de0cc0f6018d66c072e6946b98aaad5664cd78d |
|
MD5 | ef252b2651cd2eb408efe36ea5cf523c |
|
BLAKE2b-256 | 006f96ef95903d498c5b37c49e6cb5eefa6db79f2a20df9d5cd1f8fb450e0b7e |
File details
Details for the file versionix-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: versionix-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.9 Linux/5.11.15-100.fc32.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e38532196d305aed9d08b107a8807bfc5ba2757f2fb2cefb33b8cfee03410f6 |
|
MD5 | 59a1a926b0c07659d3a4797ac548b5c3 |
|
BLAKE2b-256 | d298bdd64aa39aae8a88e147edc98043c510c45601798c13995157b83cf09803 |