k3git


Namek3git JSON
Version 0.1.12 PyPI version JSON
download
home_pagehttps://github.com/pykit3/k3git
Summarywrapper of git command-line
upload_time2025-08-13 14:23:13
maintainerNone
docs_urlNone
authorZhang Yanpo
requires_python>=3.0
licenseMIT
keywords git cli commandline
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # k3git

[![Build Status](https://travis-ci.com/pykit3/k3git.svg?branch=master)](https://travis-ci.com/pykit3/k3git)
![Python package](https://github.com/pykit3/k3git/workflows/Python%20package/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/k3git/badge/?version=stable)](https://k3git.readthedocs.io/en/stable/?badge=stable)
[![Package](https://img.shields.io/pypi/pyversions/k3git)](https://pypi.org/project/k3git)

wrapper of git command-line

k3git is a component of [pykit3] project: a python3 toolkit set.


k3git is wrapper of git command-line.

To parse a git command ``git --git-dir=/foo fetch origin``:

    >>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
    ['fetch', 'origin']

    >>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
    ['--git-dir=/foo']




# Install

```
pip install k3git
```

# Synopsis

```python
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
['fetch', 'origin']
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
['--git-dir=/foo']
```

#   Author

Zhang Yanpo (张炎泼) <drdr.xp@gmail.com>

#   Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) <drdr.xp@gmail.com>


[pykit3]: https://github.com/pykit3

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pykit3/k3git",
    "name": "k3git",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": null,
    "keywords": "git, cli, commandline",
    "author": "Zhang Yanpo",
    "author_email": "drdr.xp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/14/b1/6ee6fe3ee4a54e21fde110cab6283f223422397b72dff6fd795aee74f17c/k3git-0.1.12.tar.gz",
    "platform": null,
    "description": "# k3git\n\n[![Build Status](https://travis-ci.com/pykit3/k3git.svg?branch=master)](https://travis-ci.com/pykit3/k3git)\n![Python package](https://github.com/pykit3/k3git/workflows/Python%20package/badge.svg)\n[![Documentation Status](https://readthedocs.org/projects/k3git/badge/?version=stable)](https://k3git.readthedocs.io/en/stable/?badge=stable)\n[![Package](https://img.shields.io/pypi/pyversions/k3git)](https://pypi.org/project/k3git)\n\nwrapper of git command-line\n\nk3git is a component of [pykit3] project: a python3 toolkit set.\n\n\nk3git is wrapper of git command-line.\n\nTo parse a git command ``git --git-dir=/foo fetch origin``:\n\n    >>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds\n    ['fetch', 'origin']\n\n    >>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()\n    ['--git-dir=/foo']\n\n\n\n\n# Install\n\n```\npip install k3git\n```\n\n# Synopsis\n\n```python\n>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds\n['fetch', 'origin']\n>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()\n['--git-dir=/foo']\n```\n\n#   Author\n\nZhang Yanpo (\u5f20\u708e\u6cfc) <drdr.xp@gmail.com>\n\n#   Copyright and License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Zhang Yanpo (\u5f20\u708e\u6cfc) <drdr.xp@gmail.com>\n\n\n[pykit3]: https://github.com/pykit3\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "wrapper of git command-line",
    "version": "0.1.12",
    "project_urls": {
        "Homepage": "https://github.com/pykit3/k3git"
    },
    "split_keywords": [
        "git",
        " cli",
        " commandline"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "89acecd361b5b81d226976a21037b3fb6dbcd5b8926dfa87ea9ef751e3b66210",
                "md5": "c4b22fdc7bedbe2a34431606dc78d273",
                "sha256": "0af8e20df023c05e50c4da22859b4441a1055d38de3c8bea20244cd8bb51358d"
            },
            "downloads": -1,
            "filename": "k3git-0.1.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c4b22fdc7bedbe2a34431606dc78d273",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 10450,
            "upload_time": "2025-08-13T14:23:12",
            "upload_time_iso_8601": "2025-08-13T14:23:12.010708Z",
            "url": "https://files.pythonhosted.org/packages/89/ac/ecd361b5b81d226976a21037b3fb6dbcd5b8926dfa87ea9ef751e3b66210/k3git-0.1.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "14b16ee6fe3ee4a54e21fde110cab6283f223422397b72dff6fd795aee74f17c",
                "md5": "800fdacece0bfb9557ec744c9b50016f",
                "sha256": "fdd042127828dfad60f3a4f21d293c5b1ece21b9180841496f920a5c9c32493b"
            },
            "downloads": -1,
            "filename": "k3git-0.1.12.tar.gz",
            "has_sig": false,
            "md5_digest": "800fdacece0bfb9557ec744c9b50016f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 9389,
            "upload_time": "2025-08-13T14:23:13",
            "upload_time_iso_8601": "2025-08-13T14:23:13.163818Z",
            "url": "https://files.pythonhosted.org/packages/14/b1/6ee6fe3ee4a54e21fde110cab6283f223422397b72dff6fd795aee74f17c/k3git-0.1.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-13 14:23:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pykit3",
    "github_project": "k3git",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "k3git"
}
        
Elapsed time: 1.97668s