GitHub Full Backup
A library to backup your GitHubs.
Install
pip3 install github-backup
Using
In another script
from github_full_backup import GitHub_Backup
the_backup = GitHub_Backup(user, repo, download_path, token, how_many_release=2000, how_many_issue=2000, how_many_pull_request=2000, verbose=False, releases = True, issues_pull_requests = True, turn_archive=True, archive_name=None)
the_backup.backup()
In command line
githubbackup
usage:
Usage: githubbackup --user=USER --repo=REPO --download_path=DOWNLOAD_PATH --token=TOKEN <flags>
optional flags: --how_many_release | --how_many_issue |
--how_many_pull_request | --verbose | --releases |
--issues_pull_requests | --turn_archive |
--archive_name
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file github_full_backup-0.1.0.tar.gz.
File metadata
- Download URL: github_full_backup-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44f569bcbd7db74cc8335c729b4dad627b2397b2ecb7889d623ee10a06487785
|
|
| MD5 |
0935e61093944a389c0938229c171b17
|
|
| BLAKE2b-256 |
33dd4c23d115f94a11f45c28b2184a50f2fcd48961544c5a4ee876b873bad3be
|