有一个很好的git文件包吗?在
示例
getsomething = {
'htmlpurifier' : 'http://repo.or.cz/w/htmlpurifier.git'
}
for key in vendors:
# someutility.get(http://repo.or.cz/w/htmlpurifier.git,htmlpurifier)
someutility.get(vendors[key],key)
# get http://repo.or.cz/w/htmlpurifier folder to /htmlpurifier on localstorage ?
是否有相似之处?
我更喜欢直接使用git命令,并使用subprocess模块包装它。在
但是,如果您正在寻找与Git交互的模块,我可以想到
特别是对于gitpython,请查看类:Repo。它有一个功能:
您还可以签出:http://packages.python.org/GitPython/0.3.2/tutorial.html#using-git-directly
^{pr2}$GitPython docs
如果您所说的“git folder download”是指克隆git存储库,那么应该这样做:
相关问题 更多 >
编程相关推荐