Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6924405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:39:32+00:00 2026-05-27T10:39:32+00:00

hello is there an good utility or package that handles git folder download ?

  • 0

hello is there an good utility or package that handles git folder download ?

example

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 ?

if there is anything similar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:39:33+00:00Added an answer on May 27, 2026 at 10:39 am

    I prefer to use git commands directly and wrap it using subprocess module.

    How ever, if you are looking for modules to interact with Git, I can think of

    • dulwich : http://www.samba.org/~jelmer/dulwich/docs/index.html
    • git-python: http://gitorious.org/projects/git-python/

    For git-python, particularly, please look at class : Repo. It has a function:

    fork_bare(path, **kwargs)  
    Fork a bare git repository from this repo 
    path is the full path of the new repo (traditionally ends with name.git)  
    options is any additional options to the git clone command 
    Returns git.Repo (the newly forked repo)
    

    Also you can checkout: http://packages.python.org/GitPython/0.3.2/tutorial.html#using-git-directly

    git = repo.git
    git.checkout('head', b="my_new_branch") 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to include Core Location and I'm trying to follow this tutorial: http://www.mobileorchard.com/hello-there-a-corelocation-tutorial/
Hello is there a class that does a pretty conversion?
I started dabbling in groovy yesterday. There's an example on the groovy website that
Are there any good tutorials that outline proven Architecture patterns for Facebooks applications? Most
there is a file, its name contain empty space. ex) hello I am good.zip
Hello i am looking for solution to do that: http://www.delightfulwoman.pl/depilacja-laserowa/ When you click on
Why hello there Stackoverflow, I have a nutcracker for ya, is there an good
Hello there i've finally made a good perfect language system and now am trying
Hello there and Merry Christmas !!! I am new to WPF and I am
Is there the equivalent of the Hello World program for GIS applications? I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.