Name | lib-version-remla JSON |
Version |
0.0.9
JSON |
| download |
home_page | None |
Summary | A small package which returns its own version. |
upload_time | 2024-05-08 14:07:00 |
maintainer | None |
docs_url | None |
author | Jan |
requires_python | <4.0,>=3.11 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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()
```
Raw data
{
"_id": null,
"home_page": null,
"name": "lib-version-remla",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Jan",
"author_email": "j2000.vdm@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/b6/14/96116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067/lib_version_remla-0.0.9.tar.gz",
"platform": null,
"description": "# lib-version\nThis is a package that returns the version of itself. \n\n### Building the package locally\nYou need to have poetry installed before running this: ```pip install poetry```.\n1. ```poetry install```\n2. ```poetry shell```\n3. ```poetry build```\n\n#### Uploading to PyPi manually\nThis 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.\n1. ```python3 -m twine upload --repository pypi dist/*``` \n\n### Updating the package via workflow\nAfter pushing an update you can tag it with the following command to trigger the workflow.\n1. ```git tag 0.0.1```, where 0.0.1 can be any version. This tags the latest commit. \n2. ```git push origin --tags ```\n\n### Importing the package from PyPi\nTo use the package in your project you can install it from PyPi. \nPyPi link is: https://pypi.org/project/lib-version-remla/\n1. Install with: ```pip install lib-version-remla```\n\n### Using the functionality\n```\nfrom lib_version_remla import return_version\nversion = return_version.VersionUtil.get_version()\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A small package which returns its own version.",
"version": "0.0.9",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b6e34118b9069981a97679c32d9a6a16c2b122d39572abee0e13b7e8b152a4db",
"md5": "0ff7784a7de6ddbfbebf95eaa15353c6",
"sha256": "b3a612fb10db0d493bf1cccbd2c6838b3e84e365887403e659b82d2086e9c5b3"
},
"downloads": -1,
"filename": "lib_version_remla-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0ff7784a7de6ddbfbebf95eaa15353c6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 2746,
"upload_time": "2024-05-08T14:06:59",
"upload_time_iso_8601": "2024-05-08T14:06:59.002726Z",
"url": "https://files.pythonhosted.org/packages/b6/e3/4118b9069981a97679c32d9a6a16c2b122d39572abee0e13b7e8b152a4db/lib_version_remla-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b61496116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067",
"md5": "e34ffce9526a05faa99b53906f83b84e",
"sha256": "07d506f956975d49c5a6cebdd0c403a1cc9569b42cc8dc1ea1cb4795b2e09b70"
},
"downloads": -1,
"filename": "lib_version_remla-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "e34ffce9526a05faa99b53906f83b84e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 2278,
"upload_time": "2024-05-08T14:07:00",
"upload_time_iso_8601": "2024-05-08T14:07:00.761079Z",
"url": "https://files.pythonhosted.org/packages/b6/14/96116a7bddbee692571a68d992980da7e93c6644260219abee6bcb07c067/lib_version_remla-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-08 14:07:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lib-version-remla"
}