Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Clone Github and Bitbucket Repos

Project Description

Clone Github and Bitbucket Repository


pip install clonerepos

Using for Github:


Using for Bitbucket:


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
bitbucket("aligoren", "blog") #for bitbucket
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (1.4 kB) Copy SHA256 Checksum SHA256 Source Aug 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting