Skip to main content

A small package which returns its own version.

Project description

lib-version

This is a package that returns the version of itself.

Building the package locally

You need to have poetry installed before running this: pip install poetry.

  1. poetry install
  2. poetry shell
  3. poetry build

Uploading to PyPi manually

This can be done after building the package locally. Please don't upload manually if not necessary, the GitHub workflow will take care of this. But if you need to do it manually, input this command. The API key is shared in the team channel.

  1. python3 -m twine upload --repository pypi dist/*

Updating the package via workflow

After pushing an update you can tag it with the following command to trigger the workflow.

  1. git tag 0.0.1, where 0.0.1 can be any version. This tags the latest commit.
  2. git push origin --tags

Importing the package from PyPi

To use the package in your project you can install it from PyPi. PyPi link is: https://pypi.org/project/lib-version-remla/

  1. Install with: pip install lib-version-remla

Using the functionality

from lib_version_remla import return_version
version = return_version.VersionUtil.get_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

lib_version_remla-0.0.9.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

lib_version_remla-0.0.9-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file lib_version_remla-0.0.9.tar.gz.

File metadata

  • Download URL: lib_version_remla-0.0.9.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for lib_version_remla-0.0.9.tar.gz
Algorithm Hash digest
SHA256 07d506f956975d49c5a6cebdd0c403a1cc9569b42cc8dc1ea1cb4795b2e09b70
MD5 e34ffce9526a05faa99b53906f83b84e
BLAKE2b-256 b61496116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067

See more details on using hashes here.

File details

Details for the file lib_version_remla-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for lib_version_remla-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b3a612fb10db0d493bf1cccbd2c6838b3e84e365887403e659b82d2086e9c5b3
MD5 0ff7784a7de6ddbfbebf95eaa15353c6
BLAKE2b-256 b6e34118b9069981a97679c32d9a6a16c2b122d39572abee0e13b7e8b152a4db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page