Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there implementation of Git in pure Python?

Tags:

git

python

dvcs

Is there implementation of Git in pure Python?

like image 345
Piotr Dobrogost Avatar asked Mar 18 '11 10:03

Piotr Dobrogost


People also ask

Does Python come with Git?

GitPython is a python library used to interact with git repositories. It is a module in python used to access our git repositories. It provides abstractions of git objects for easy access of repository data, and additionally allows you to access the git repository more directly using pure python implementation.

How do I get git in Python?

Source Code. GitPython's git repo is available on GitHub, which can be browsed at: https://github.com/gitpython-developers/GitPython.


1 Answers

Found Dulwich:

Dulwich is a pure-Python implementation of the Git file formats and protocols.

The project is named after the village in which Mr. and Mrs. Git live in the Monty Python sketch.

Looks like a low-level library, the API did not appear friendly to my eyes, but there's a tutorial on the Github page

like image 88
CharlesB Avatar answered Nov 15 '22 12:11

CharlesB