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-1.0.0.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-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for remla24_team8_lib_version-1.0.0.tar.gz
Algorithm Hash digest
SHA256 557759d307df2add66a9c3da9fa776d709bc8b108d54e219da1f747821dde85a
MD5 d43bee34b7c09577d4b908a7312bd3d5
BLAKE2b-256 db8eaab25a967e339b958c1ab2fe067cf7cf8e65daaeffdd9f8cc31374f46ae9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for remla24_team8_lib_version-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecc2b21f5c7d02ad30d3b4f86abf41b2b6e07d7e1302a9027d21f466980c1ba4
MD5 69cb5b2101bfc802dd916e008150c7da
BLAKE2b-256 de968b065353f1af87314e69c9854fc49e0d614d8b47bf1ede568d751765aa24

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