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

Re: Using git from Python

From
DDill <sarpulhu@gmail.com>
Date
May 10, 2008, 06:52 UTC
Message-ID
<9b013f14-c193-41bc-923f-5f9a09d4fd60@56g2000hsm.googlegroups.com>
In-Reply-To
<alpine.DEB.1.10.0805071612510.26718@sf.creativecommons.org>
Also check out: http://gitorious.org/projects/git-python/
Asheesh Laroia wrote:
Show 21 quoted lines
> From a Python app, I want to read and write a git repository.  It seems
> from Luiz Fernando's post at http://blog.cpu.eti.br/?p=91 that the efforts
> to Pythonize libgit have stalled.
>
> On #git, I was advised to simply call the git command suite.  That's fine,
> and I can do it using the subprocess module in Python - but since I
> figured others may have done this also, does anyone know of a Python
> module that wraps some git commands?  I'm thinking if others have gone
> down this path, they might have code that e.g. raises Exceptions when the
> git commands fail for some reason.
>
> What have others on this list done lately for using git from Python?
>
> -- Asheesh.
>
> --
> You will reach the highest possible point in your business or profession.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: David AguilarNext: Asheesh Laroia
Message 4 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.