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.4.tar.gz (2.0 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.4-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for remla24_team8_lib_version-0.3.4.tar.gz
Algorithm Hash digest
SHA256 69f43d95b23e5c84bf2965f772fe8d73961616c3994cd8eee3001483c1a6109c
MD5 4b9e03bf9e7db6465e4534ac092a7913
BLAKE2b-256 8a5ea46bd02477758d2c7afe41385fbf0448e9e34a71255560822a132708e45d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for remla24_team8_lib_version-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ab783f8ed5ba720977436fba376afce27aafedab653c387b30e7d1b63537328f
MD5 dfc3692a1f56de60657d647014db4c02
BLAKE2b-256 44dcfd5512e623569ef1ab4cfb31ed927dab398b5d43aab108faf97e48d0c86c

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