Skip to main content

No project description provided

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 versioning_util.versioning 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

remla24_team8_lib_version-0.3.0.tar.gz (1.3 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.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: remla24_team8_lib_version-0.3.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/22.4.0

File hashes

Hashes for remla24_team8_lib_version-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e25219c1970eba8c10e904fe8d409ab7f4ce747dde0f0ab95de7fd48458436db
MD5 6aa5a0bda2a19f4a02b5acc4881a59a1
BLAKE2b-256 dbc3fdf01625dd613a96db6f0e81734b371333f491569c9e84a91182a42748f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for remla24_team8_lib_version-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed811ddd6dc365af0d7df3d4a594f3c95fdef3790ac3a1a607539c25f5c2265b
MD5 958ba5090f6fef6d65f4e059826de346
BLAKE2b-256 54147b467efed219152fa5ac019f8c2015bed3583d93a1793e42f54ae3ea03fb

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