推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Livid
286.33D
538.78D
V2EX  ›  Python

用 Python 操作 Git

  •  
  •   Livid ·
    PRO
    · Dec 27, 2012 via iPhone · 6414 views
    This topic created in 4910 days ago, the information mentioned may be changed or developed.
    9 replies    1970-01-01 08:00:00 +08:00
    clino
        1
    clino  
       Dec 27, 2012
    我之前用python操作或者获取git信息用的是pygit2
    https://github.com/libgit2/pygit2
    yoyicue
        2
    yoyicue  
       Dec 27, 2012
    我之前是用的 subprocess
    aisk
        3
    aisk  
       Dec 27, 2012   ❤️ 1
    @yoyicue 要是做命令行工具调用的话推荐这个 http://amoffat.github.com/sh/
    yoyicue
        4
    yoyicue  
       Dec 27, 2012
    @aisk 谢谢 我熟悉 sh 那个代码写的时候, sh 还不流行.
    jjx
        5
    jjx  
       Dec 27, 2012
    @aisk windows 下有等效的吗?
    douglarek
        6
    douglarek  
       Dec 27, 2012
    推荐 GitPython
    aisk
        7
    aisk  
       Dec 27, 2012
    @jjx 这个就不知道了…
    timonwong
        8
    timonwong  
       Dec 27, 2012
    @jjx
    Windows下就只能用pbs了 (http://pypi.python.org/pypi/pbs)
    hahastudio
        9
    hahastudio  
       Dec 27, 2012
    前些日子看到了dulwich (https://github.com/jelmer/dulwich)觉得不错
    看了文档之后觉得建一个Git Server好像很简单= =
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2765 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 11:56 · PVG 19:56 · LAX 04:56 · JFK 07:56
    ♥ Do have faith in what you're doing.