git-interface


Namegit-interface JSON
Version 0.10.0 PyPI version JSON
download
home_pageNone
SummaryUse the git cli from Python
upload_time2024-05-01 20:19:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords git scm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Git Interface
![PyPI](https://img.shields.io/pypi/v/git-interface)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/git-interface)
![PyPI - Downloads](https://img.shields.io/pypi/dm/git-interface)
![GitHub](https://img.shields.io/github/license/enchant97/python-git-interface)
![GitHub issues](https://img.shields.io/github/issues/enchant97/python-git-interface)
![GitHub last commit](https://img.shields.io/github/last-commit/enchant97/python-git-interface)

Use the git cli from Python.

> This project currently is not heavily tested and not fully feature complete

## Requirements
- Git (version 2.30)

## Example Of Use

```python
import asyncio
from git_interface.branch import get_branches

head, other_branches = asyncio.run(get_branches("my_git_repo.git"))

print("HEAD = ", head)
print("OTHER", other_branches)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "git-interface",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "git, scm",
    "author": null,
    "author_email": "Leo Spratt <contact@enchantedcode.co.uk>",
    "download_url": "https://files.pythonhosted.org/packages/6c/98/9089a7a48e749d8a87103b3b4e5d9fd2bd99c726b9f16f661344fb995c4a/git_interface-0.10.0.tar.gz",
    "platform": null,
    "description": "# Git Interface\n![PyPI](https://img.shields.io/pypi/v/git-interface)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/git-interface)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/git-interface)\n![GitHub](https://img.shields.io/github/license/enchant97/python-git-interface)\n![GitHub issues](https://img.shields.io/github/issues/enchant97/python-git-interface)\n![GitHub last commit](https://img.shields.io/github/last-commit/enchant97/python-git-interface)\n\nUse the git cli from Python.\n\n> This project currently is not heavily tested and not fully feature complete\n\n## Requirements\n- Git (version 2.30)\n\n## Example Of Use\n\n```python\nimport asyncio\nfrom git_interface.branch import get_branches\n\nhead, other_branches = asyncio.run(get_branches(\"my_git_repo.git\"))\n\nprint(\"HEAD = \", head)\nprint(\"OTHER\", other_branches)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Use the git cli from Python",
    "version": "0.10.0",
    "project_urls": {
        "Change Log": "https://github.com/enchant97/python-git-interface/blob/main/CHANGELOG.md",
        "Documentation": "https://python-git-interface.docs.enchantedcode.co.uk/",
        "Source Code": "https://github.com/enchant97/python-git-interface"
    },
    "split_keywords": [
        "git",
        " scm"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b54f8711f7751af9f5e6ef139155f61dfe6e02587bfd22f1bed348206bfeb6ce",
                "md5": "af850e2601a06a7cb14877dd9b33d2cc",
                "sha256": "52eccf18fe29cddb8b918daf3b656427b6650614e698366e68e7da35c9d9904e"
            },
            "downloads": -1,
            "filename": "git_interface-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af850e2601a06a7cb14877dd9b33d2cc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 20667,
            "upload_time": "2024-05-01T20:19:43",
            "upload_time_iso_8601": "2024-05-01T20:19:43.429642Z",
            "url": "https://files.pythonhosted.org/packages/b5/4f/8711f7751af9f5e6ef139155f61dfe6e02587bfd22f1bed348206bfeb6ce/git_interface-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6c989089a7a48e749d8a87103b3b4e5d9fd2bd99c726b9f16f661344fb995c4a",
                "md5": "faeac3062d604977f233c00de072da00",
                "sha256": "6b11c7ec1a12eac019e224cefac1921bf58dd882ac734ade6333acd1fd32a490"
            },
            "downloads": -1,
            "filename": "git_interface-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "faeac3062d604977f233c00de072da00",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 16678,
            "upload_time": "2024-05-01T20:19:45",
            "upload_time_iso_8601": "2024-05-01T20:19:45.399551Z",
            "url": "https://files.pythonhosted.org/packages/6c/98/9089a7a48e749d8a87103b3b4e5d9fd2bd99c726b9f16f661344fb995c4a/git_interface-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-01 20:19:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "enchant97",
    "github_project": "python-git-interface",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "git-interface"
}
        
Elapsed time: 0.41013s