skip to navigation
skip to content

Not Logged In

clonerepos 0.2

Clone Github and Bitbucket Repos

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
 
File Type Py Version Uploaded on Size
clonerepos-0.2.zip (md5) Source 2014-08-04 1KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 34 downloads in the last week
  • 79 downloads in the last month
  • Author: Ali GOREN
  • Home Page: http://blog.aligoren.net
  • Bug Tracker: https://github.com/GodMachine/CloneGithubRepos/issues
  • Download URL: https://github.com/GodMachine/CloneGithubRepos/archive/master.zip
  • Keywords: git,repos,cloning,clone,github,bitbucket
  • License:
    The MIT License (MIT)
    
    Copyright (c) <2014> <Ali GOREN>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
  • Platform: Linux, OS X, Windows
  • Requires zipfile
  • Package Index Owner: agoren
  • DOAP record: clonerepos-0.2.xml