推荐学习书目
› 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
403.84D
565.52D
V2EX  ›  Python

用 Python 操作 Git

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