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 files for clonerepos 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clonerepos-0.2.zip | 1.4 kB | Details |
Release files / clonerepos-0.2.zip
| Download URL | clonerepos-0.2.zip |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f78c4e2734556f4deb00a373b125557912a77730131de8ca3735d0cf4ab9c62d
|
|
BLAKE2b-256 checksum How to use checksums |
83bed8b9df54b8ed277b70a5caa7bdf73ca5b30b9fa4637f1591496c244c7c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |