-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Useful Python Modules #3
Comments
Thanks for the info. I've more or less settled on click for the CLI. I knew there were Python libraries for dealing with git, although I wasn't aware there were quite so many! |
@cmacmackin Wonderful, I am curious to see click in action, I never used it :-) In python there are always |
See the main driver |
I've looked at the git libraries. github3.py and PyGithub are just for the GitHub API, as the names suggest. While those may be useful at some time in the future, for now I wasn't planning to use that. Gittle looks very easy to use, but its documentation is a bit sparse. More concerning is that, at present, it doesn't work with Python 3. dulwich and GitPython both look very powerful, but also appear to be harder to use. They require a bit more knowledge of git's plumbing, rather than just the porcelain. In particular, I'm amazed by how difficult it seems to be just to checkout a commit. Of these two, I'd be more inclined to go with dulwich, as it is pure Python, whereas GitPython has to pipe things through the shell. |
At this point, I guess that Chris has chosen python. Here I would like to list available python modules that should help Chris to avoid reinvent the wheel. I start with the following list hoping that your experiences improve it.
Git
UI (CLI)
The text was updated successfully, but these errors were encountered: