Skip to main content

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

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
clonerepos-0.2.zip (1.4 kB) Copy SHA256 hash SHA256 Source None Aug 4, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page