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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clonerepos-0.2.zip
(1.4 kB
view details)
File details
Details for the file clonerepos-0.2.zip
.
File metadata
- Download URL: clonerepos-0.2.zip
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f78c4e2734556f4deb00a373b125557912a77730131de8ca3735d0cf4ab9c62d
|
|
MD5 |
4985845b045d1f2ee86d4e513cd7d8ba
|
|
BLAKE2b-256 |
83bed8b9df54b8ed277b70a5caa7bdf73ca5b30b9fa4637f1591496c244c7c59
|