Name | packaging-version-git JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | Implementation of creating version based on git status |
upload_time | 2024-11-15 12:35: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/9a/a9/1fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2/packaging_version_git-0.1.2.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.2",
"project_urls": null,
"split_keywords": [
"rocshers",
" packaging",
" git"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b6543c06c9ad39468a9fe387a961c873a43be8315e7c92d4d9df691a34e96f99",
"md5": "d250ce28945cf47f601dcb3982d9ba71",
"sha256": "d17a9a45e925d17c16a51903a5cda6d7c6e47073c01a198990e6f302f6e1f9b2"
},
"downloads": -1,
"filename": "packaging_version_git-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d250ce28945cf47f601dcb3982d9ba71",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 4916,
"upload_time": "2024-11-15T12:35:20",
"upload_time_iso_8601": "2024-11-15T12:35:20.221106Z",
"url": "https://files.pythonhosted.org/packages/b6/54/3c06c9ad39468a9fe387a961c873a43be8315e7c92d4d9df691a34e96f99/packaging_version_git-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9aa91fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2",
"md5": "382fdfdf03b923257b0e60a8b1a0e9ee",
"sha256": "371e5bbf1bfcbd9c641e5ef18cee8bdf07ec86f29b93cf17ce1902d5ab1ba569"
},
"downloads": -1,
"filename": "packaging_version_git-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "382fdfdf03b923257b0e60a8b1a0e9ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5071,
"upload_time": "2024-11-15T12:35:22",
"upload_time_iso_8601": "2024-11-15T12:35:22.234210Z",
"url": "https://files.pythonhosted.org/packages/9a/a9/1fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2/packaging_version_git-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-15 12:35:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "packaging-version-git"
}