A version-aware library that can can be asked for the version of the library
Project description
lib-version
A version-aware library that can can be asked for the version of the library. This can be useful, for example, for verbose system information in log messages or data records. The library may also contain other logic.
• Create a VersionUtil class that can be asked for its version. (Try to parse meta-data that is included in the package or explicitly store the version in a separate file.)
• The library is versioned automatically, e.g., by picking-up on the corresponding Git version tag.
• A workflow is used to automatically release the library in a package registry that matches the language.(As stated before, this includes either supported package registries on GitHub or repository tags in languages that support it.)
Installation
The package is avaiable on pypi and can be installed directly using:
pip install remla24-team8-lib-version
Usage
To get the current version include the following lines:
from lib_version import Version_Util
util = VersionUtil()
print(util.get_version_from_setup())
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file remla24_team8_lib_version-0.3.1.tar.gz.
File metadata
- Download URL: remla24_team8_lib_version-0.3.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e13507ee9d1b1d9296d0cc73455bb7e1f4c1c65fcc6aba0d81a1d9f439f6f6b1
|
|
| MD5 |
77eb0e2cc1a9817ea8ade09c5a4375c7
|
|
| BLAKE2b-256 |
27559b62103387e983d42c1fc828d9b722a4bd8c5af8f052f241e44ebea0b566
|
File details
Details for the file remla24_team8_lib_version-0.3.1-py3-none-any.whl.
File metadata
- Download URL: remla24_team8_lib_version-0.3.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
414b72052d1d281b25a5ed6dff6afadc7b54449341dd859c82977371320f6493
|
|
| MD5 |
443f178ae149d1c10b7334ebcad007e3
|
|
| BLAKE2b-256 |
2f5939de59638319a1dfe6bd8043bb9593c187b1e42b1e7780707a946f003e2f
|