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 installpoetry shellpoetry 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()
Metadata
Release files for lib-version-remla 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lib_version_remla-0.0.9.tar.gz | 2.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lib_version_remla-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / lib_version_remla-0.0.9.tar.gz
| Download URL | lib_version_remla-0.0.9.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07d506f956975d49c5a6cebdd0c403a1cc9569b42cc8dc1ea1cb4795b2e09b70
|
|
BLAKE2b-256 checksum How to use checksums |
b61496116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / lib_version_remla-0.0.9-py3-none-any.whl
| Download URL | lib_version_remla-0.0.9-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3a612fb10db0d493bf1cccbd2c6838b3e84e365887403e659b82d2086e9c5b3
|
|
BLAKE2b-256 checksum How to use checksums |
b6e34118b9069981a97679c32d9a6a16c2b122d39572abee0e13b7e8b152a4db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for lib-version-remla 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.