README for GitHub Bulk Clone
Overview
github-bulk-clone is a Python package that allows you to efficiently clone all repositories from a specified GitHub user, including private ones if you have access.
Installation
Install via pip:
pip install github-bulk-clone
Usage
Command-line
Run the following command in your terminal:
python -m github_bulk_clone <username> <clone_directory> [-t <token>]
<username>: GitHub username.<clone_directory>: Local directory for cloning.-t <token>: Optional GitHub personal access token.
Or you can just use blkclone
blkclone <username> <clone_directory> [-t <token>]
Python Script
Import and use the functions directly:
from github_bulk_clone import clone_all_repos_of
clone_all_repos_of('USER_NAME', 'YOUR_TOKEN', './my_repos')
Functions
get_all_repo_names(api_token, username): Fetches repository URLs.store_repo_names_to_file(repo_list, path): Saves repository URLs to a file.clone_from_list(repos, clone_directory): Clones repositories from a list.clone_all_repos_of(username, api_token, clone_directory): Main function to clone repositories.
License
This project is licensed under the MIT License.
Contributing
Feel free to contribute via pull requests or by opening issues on GitHub.
Metadata
Release files for github-bulk-clone 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| github_bulk_clone-0.0.3.tar.gz | 5.3 kB | Without provenance | Details for github_bulk_clone-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| github_bulk_clone-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for github_bulk_clone-0.0.3-py3-none-any.whl |
Total release size: 10.1 kB
Release files / github_bulk_clone-0.0.3.tar.gz
| Download URL | github_bulk_clone-0.0.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caaadd983bf8bec212f4ac4b0cc1136d2281f3586d7041542cace51cc57619f2
|
|
BLAKE2b-256 checksum How to use checksums |
37527b6df127a1513c4861c05c03a4c1707297fecd064384a137a78b09c9c517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / github_bulk_clone-0.0.3-py3-none-any.whl
| Download URL | github_bulk_clone-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e17f405c2dcb3f7e15addb44c742f0cecb7356fef34d823aae240f436a80361
|
|
BLAKE2b-256 checksum How to use checksums |
267b46edc9a79c22fadf5ac2a7e7436fe7f8e21520d1e5016547b081fb2b1f03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for github-bulk-clone 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.