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
.
poetry install
poetry shell
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.
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.
git tag 0.0.1
, where 0.0.1 can be any version. This tags the latest commit.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/
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07d506f956975d49c5a6cebdd0c403a1cc9569b42cc8dc1ea1cb4795b2e09b70 |
|
MD5 | e34ffce9526a05faa99b53906f83b84e |
|
BLAKE2b-256 | b61496116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067 |
File details
Details for the file lib_version_remla-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: lib_version_remla-0.0.9-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a612fb10db0d493bf1cccbd2c6838b3e84e365887403e659b82d2086e9c5b3 |
|
MD5 | 0ff7784a7de6ddbfbebf95eaa15353c6 |
|
BLAKE2b-256 | b6e34118b9069981a97679c32d9a6a16c2b122d39572abee0e13b7e8b152a4db |