This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

0.2

History Node

0.1

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
clonerepos-0.2.zip (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