git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Using git from Python

From
SFSteve Frécinaux <nudrema@gmail.com>
Date
May 13, 2008, 07:39 UTC
Message-ID
<f35478f50805130039s6dfe9411j63411f2f7a7db6c3@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0805121116560.6810@swallowtail>
Hi,

It is very fun, because I started my own project ten days ago with similar goals: making python bindings for git. Since I didn't have much imagination at that time, I called it "pygit", eventually renaming it later with a better name.

While being quite similar to git-python at first glance, its primary goal is to feel as pythonic as possible, and to be suitable for porcelainish scripts (in such, it is quite low-level wrt the operations it allows, and has repository writing at the top of its todo list)...

Despite it seems a bit older than gitpython if you look at the commit history, it seems less mature, probably because it's written mostly from scratch and not a raw port of the ruby bindings. For instance, docs are still missing, which is why I didn't announce it to this list yet. It seems it is roughly on par with git-python feature-wise, though.

I hope you'll like this one too ;-)
Ah, I forgot: here it is: http://code.istique.net/?p=pygit.git
(If you get an error, try reloading the page, the server gets crappy sometimes)
PS. Comments welcome.
On Mon, May 12, 2008 at 8:17 PM, Asheesh Laroia <asheesh@asheesh.org> wrote:
Show 9 quoted lines
> On Fri, 9 May 2008, Dill wrote:
>
>
> > Also check out: http://gitorious.org/projects/git-python/
> >
>
>  That looks very friendly and object-oriented.  It doesn't seem to have
> write support, based on a quick look - is that right?  Is write support a
> feature you're considering adding?
Previous: Asheesh LaroiaNext: Steve Frécinaux
Message 6 of 7 in “Using git from Python”
  1. Asheesh LaroiaMay 8, 2008
  2. Eric HanchrowMay 8, 2008
  3. David AguilarMay 8, 2008
  4. DillMay 10, 2008
  5. Asheesh LaroiaMay 12, 2008
  6. Steve FrécinauxMay 13, 2008
  7. Steve FrécinauxMay 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.