https://github.com/isaccanedo/github-full-backup
:fire: A library to backup your GitHubs
https://github.com/isaccanedo/github-full-backup
github-backup python
Last synced: 10 months ago
JSON representation
:fire: A library to backup your GitHubs
- Host: GitHub
- URL: https://github.com/isaccanedo/github-full-backup
- Owner: isaccanedo
- License: mit
- Created: 2024-06-03T17:35:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-01T21:55:57.000Z (about 1 year ago)
- Last Synced: 2025-01-12T06:43:13.813Z (12 months ago)
- Topics: github-backup, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Full Backup
A library to backup your GitHubs.
# Install
```
pip3 install github_full_backup
```
# Using
## In another script
```python
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
```console
githubbackup
```
usage:
```console
Usage: githubbackup --user=USER --repo=REPO --download_path=DOWNLOAD_PATH --token=TOKEN
optional flags: --how_many_release | --how_many_issue |
--how_many_pull_request | --verbose | --releases |
--issues_pull_requests | --turn_archive |
--archive_name
```