Clone Github and Bitbucket Repos
Project description
Clone Github and Bitbucket Repository
Installation:
pip install clonerepos
Using for Github:
github("GITHUB USERNAME", "REPOSITORY NAME")
Using for Bitbucket:
bitbucket("BITBUCKET USERNAME", "REPOSITORY NAME")
Sample App:
#call module from clonerepos.clone import github from clonerepos.clone import bitbucket import sys if sys.argv[1] and sys.argv[2] and sys.argv[3] == "--github": github(sys.argv[1], sys.argv[2]) elif sys.argv[1] and sys.argv[2] and sys.argv[3] == "--bitbucket": bitbucket(sys.argv[1], sys.argv[2])
Sample App2:
from clonerepos.clone import github #for github from clonerepos.clone import bitbucket #for bitbucket github("agoren", "Blog") #for github http://github.com/agoren/Blog bitbucket("aligoren", "blog") #for bitbucket https://bitbucket.org/aligoren/blog
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clonerepos-0.2.zip
(1.4 kB
view hashes)