_ _
__ _(_) |_ _ _
/ _` | | __| | | |
| (_| | | |_| |_| |
\__, |_|\__|\__, |
|___/ |___/
The git magician for python. gity makes using git commands in python, a piece of cake.
Most existing Python modules for for interacting with git repositories are extremely verbose and cumbersome.
Python doesnt have a builtin module and with the existing ones it requires tremendous amount of documentation digging to get hold of the simplest functions.
Things shouldn't be this way. Not in Python.
- Written in uncomplicated Python
- Easy to install
- Works on Linux and Mac
- git init
- git clone
- git status
- git add
- git commit
- git push
- git pull
- git checkout
Option 1: Pip
$ pip install gity
$ git clone --recursive [email protected]:mnw2212/gity.git
$ cd gity/
$ python setup.py install
from gity import gity
obj = gity()
obj.git_add(deletion=True)
message = "inital commit"
obj.git_commit(message)
Please use the issue tracker to report any bugs or file feature requests.
PRs are welcome. To begin developing, follow this:
# make virtual env
$ git clone --recursive [email protected]:Mnw2212/gity.git
$ cd gity/
$ python gity/gity.py