Name | packaging-version-git JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Implementation of creating version based on git status |
upload_time | 2024-11-12 21:18:22 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT |
keywords |
rocshers
packaging
git
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# packaging-version-git
Implementation of creating version based on git status
[![PyPI](https://img.shields.io/pypi/v/packaging-version-git)](https://pypi.org/project/packaging-version-git/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/packaging-version-git)](https://pypi.org/project/packaging-version-git/)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-git&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-git)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-git&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-git)
[![Downloads](https://static.pepy.tech/badge/packaging-version-git)](https://pepy.tech/project/packaging-version-git)
[![GitLab stars](https://img.shields.io/gitlab/stars/rocshers/python/packaging-version-git)](https://gitlab.com/rocshers/python/packaging-version-git)
[![GitLab last commit](https://img.shields.io/gitlab/last-commit/rocshers/python/packaging-version-git)](https://gitlab.com/rocshers/python/packaging-version-git)
## Documentation
Install:
```bash
pip install packaging-version-git
```
Usage:
```python
from packaging_version_git import GitVersion
version = GitVersion.from_tag()
print(version) # 0.1.0
version = GitVersion.from_commit(as_dev=True)
print(version) # 0.1.0.dev5+ef7fd31
```
## Contribute
Issue Tracker: <https://gitlab.com/rocshers/python/packaging-version-git/-/issues>
Source Code: <https://gitlab.com/rocshers/python/packaging-version-git>
Before adding changes:
```bash
make install
```
After changes:
```bash
make format test
```
Raw data
{
"_id": null,
"home_page": null,
"name": "packaging-version-git",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "rocshers, packaging, git",
"author": null,
"author_email": "Alekse Marusich <alekse.marusich@rocshers.com>",
"download_url": "https://files.pythonhosted.org/packages/5e/86/840b9c8fddc1325751255a29ec50c06bc5e86a225e53a90815c383d0f4d7/packaging_version_git-0.1.1.tar.gz",
"platform": null,
"description": "# packaging-version-git\n\nImplementation of creating version based on git status\n\n[![PyPI](https://img.shields.io/pypi/v/packaging-version-git)](https://pypi.org/project/packaging-version-git/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/packaging-version-git)](https://pypi.org/project/packaging-version-git/)\n\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-git&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-git)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-git&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-git)\n\n[![Downloads](https://static.pepy.tech/badge/packaging-version-git)](https://pepy.tech/project/packaging-version-git)\n[![GitLab stars](https://img.shields.io/gitlab/stars/rocshers/python/packaging-version-git)](https://gitlab.com/rocshers/python/packaging-version-git)\n[![GitLab last commit](https://img.shields.io/gitlab/last-commit/rocshers/python/packaging-version-git)](https://gitlab.com/rocshers/python/packaging-version-git)\n\n## Documentation\n\nInstall:\n\n```bash\npip install packaging-version-git\n```\n\nUsage:\n\n```python\nfrom packaging_version_git import GitVersion\n\nversion = GitVersion.from_tag()\nprint(version) # 0.1.0\n\nversion = GitVersion.from_commit(as_dev=True)\nprint(version) # 0.1.0.dev5+ef7fd31\n```\n\n## Contribute\n\nIssue Tracker: <https://gitlab.com/rocshers/python/packaging-version-git/-/issues> \nSource Code: <https://gitlab.com/rocshers/python/packaging-version-git>\n\nBefore adding changes:\n\n```bash\nmake install\n```\n\nAfter changes:\n\n```bash\nmake format test\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Implementation of creating version based on git status",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [
"rocshers",
" packaging",
" git"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4707c919d8ddb169f9caeee5c7ffd04fb9e8129528b16e34eff108d6a6b8b5a8",
"md5": "355142643415c3f8e237752f6f1ee73c",
"sha256": "94d9c1cc99369fab889baa6178da61254430e0275a3ed0b783a6ec563b57b91f"
},
"downloads": -1,
"filename": "packaging_version_git-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "355142643415c3f8e237752f6f1ee73c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 4921,
"upload_time": "2024-11-12T21:18:20",
"upload_time_iso_8601": "2024-11-12T21:18:20.637320Z",
"url": "https://files.pythonhosted.org/packages/47/07/c919d8ddb169f9caeee5c7ffd04fb9e8129528b16e34eff108d6a6b8b5a8/packaging_version_git-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5e86840b9c8fddc1325751255a29ec50c06bc5e86a225e53a90815c383d0f4d7",
"md5": "713113ea6fb1fee6736f3802b1ab1c05",
"sha256": "aca889b61bfb26db89a8c8cd44f33de2b2d1f390de62b474a0f7264b96e20938"
},
"downloads": -1,
"filename": "packaging_version_git-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "713113ea6fb1fee6736f3802b1ab1c05",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5153,
"upload_time": "2024-11-12T21:18:22",
"upload_time_iso_8601": "2024-11-12T21:18:22.783122Z",
"url": "https://files.pythonhosted.org/packages/5e/86/840b9c8fddc1325751255a29ec50c06bc5e86a225e53a90815c383d0f4d7/packaging_version_git-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-12 21:18:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "packaging-version-git"
}