{
"info": {
"author": "Daniele Esposti",
"author_email": "daniele.esposti@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: Public Domain",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: System"
],
"description": "Littlegit\n=========\n\nA very little Python wrapper around Git CLI.\n\nLittlegit doesn't need any external dependency except for the `Git `_ binary\nto be installed in your system.\n\nAll the current, past and future commands and options of Git are fully supported.\n\n\nInstallation\n------------\n\nInstall Littlegit with `pip`:\n\n.. code-block:: python\n\n pip install littlepip\n\n\nUsage\n-----\n\nTo use Littlegit is very simple, it follows a very simple rule to map Git's commands to Littlegit's\nAPI:\n\n* every Git command is a method\n* every argument is a method's argument\n* every option is a method's keywords\n\nLets explain this with an example of initialising a local repository, adding a file and commiting:\n\n.. code-block:: python\n\n repo = Git(\"/my/local/repo\")\n repo.init() # git init /my/local/repo\n\n open(\"myfile\", \"w\").close()\n\n repo.add(\"myfile\") # git add myfile\n repo.commit(message=\"this is my first commit\") # git commit --message \"this is my first commit\"\n repo.remote(\"add\", \"origin\", \"\") # git remote add origin \n repo.push(\"origin\", \"master\") # git push origin master\n\nAll the methods return the output if the Git command:\n\n.. code-block:: python\n\n output = repo.branch(remote=True) # git branch --remote\n print(output)\n origin/HEAD -> origin/master\n origin/master\n\n\nTests\n-----\n\nTo run the unit tests install the development dependencies and then run\n`Tox `_:\n\n.. code-block:: bash\n\n pip install -r requirements-dev.txt\n tox",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/expobrain/littlegit",
"keywords": null,
"license": "MIT License\n\nCopyright (c) 2017 Daniele Esposti\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.",
"maintainer": null,
"maintainer_email": null,
"name": "littlegit",
"package_url": "https://pypi.org/project/littlegit/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/littlegit/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/expobrain/littlegit"
},
"release_url": "https://pypi.org/project/littlegit/0.1.1/",
"requires_dist": null,
"requires_python": null,
"summary": "This is a little tiny wrapper around Git CLI",
"version": "0.1.1"
},
"last_serial": 2970463,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "ef800211297dd14fc45d6c3e1ccd732a",
"sha256": "211ee5124c01a74cf805a31f4c4e68992c2b79a77cbfa7e16d53303c4ea460b8"
},
"downloads": -1,
"filename": "littlegit-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ef800211297dd14fc45d6c3e1ccd732a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3159,
"upload_time": "2017-04-01T12:56:23",
"url": "https://files.pythonhosted.org/packages/07/e2/409c1e522f47e3e7d78303312faff5324911f008387f42e813ad50272588/littlegit-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "9250aa7842d3af4170cd988766418049",
"sha256": "5195ac83cf94c8c31278b5215aacab062533865cc2bac63d323e2af7d8574a15"
},
"downloads": -1,
"filename": "littlegit-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "9250aa7842d3af4170cd988766418049",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3345,
"upload_time": "2017-06-22T22:00:39",
"url": "https://files.pythonhosted.org/packages/d2/b4/de9490fbbe8400e86e354994f9df19141ab325d60548a481679eb83eb063/littlegit-0.1.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9250aa7842d3af4170cd988766418049",
"sha256": "5195ac83cf94c8c31278b5215aacab062533865cc2bac63d323e2af7d8574a15"
},
"downloads": -1,
"filename": "littlegit-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "9250aa7842d3af4170cd988766418049",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3345,
"upload_time": "2017-06-22T22:00:39",
"url": "https://files.pythonhosted.org/packages/d2/b4/de9490fbbe8400e86e354994f9df19141ab325d60548a481679eb83eb063/littlegit-0.1.1.tar.gz"
}
]
}