Skip to main content

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 remla24_team8_lib_version import versioning

print(versioning.VersionUtil().version)

or from command-line

python3 -m remla24_team8_lib_version

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

remla24_team8_lib_version-0.3.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remla24_team8_lib_version-0.3.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file remla24_team8_lib_version-0.3.3.tar.gz.

File metadata

File hashes

Hashes for remla24_team8_lib_version-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0647de319fe0f89981665992cff8f08b9777cd209ceb9355bf63b6522dfe1520
MD5 7ad776492295ba94bf0130f75a5f57c8
BLAKE2b-256 201fe86937f0de99dd32b10ea626d3d982aee3b8d7d7b551f832a78192f8c3f3

See more details on using hashes here.

File details

Details for the file remla24_team8_lib_version-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for remla24_team8_lib_version-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14f6d6486ddc2c15c06f180906b35da67e41b8c42330004f6077e0308c6b752a
MD5 d4c362020b41fe85ec991bcced3daf81
BLAKE2b-256 dea223bf1a39efeceae25b771070ca366135b7b1af5b8604bdaaa36bc80c93aa

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