This script exports your github stars to a json file.
Project description
Exports list of all your starred Github repos to a json file. Also can optionally unstar all backed up repositories.
install:
pip install gh_stars_export
usage
$ gh_starts_export.py -o gh_stars.json --token x35b2rb37x6rbf328xnrr8rxnf23r83f
or
$ export GITHUB_TOKEN=x35b2rb37x6rbf328xnrr8rxnf23r83f
$ gh_starts_export.py -o gh_stars.json
optionally, passing -u/--unstar
also unstars the backed up starred repos.
$ export GITHUB_TOKEN=x35b2rb37x6rbf328xnrr8rxnf23r83f
$ gh_starts_export.py -o gh_stars.json --unstar
unstarring namhyung/uftrace
unstarring cybertec-postgresql/pgwatch2
unstarring nicolargo/glances
unstarring groveco/django-sql-explorer
unstarring ultrabug/py3status
unstarring apple/foundationdb
unstarring souvikmaity/somersault
unstarring git-tips/tips
FAQ:
- Where to get the github token from? Ans. https://github.com/settings/tokens/new
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
gh_stars_export-0.1.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for gh_stars_export-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4423861babb4a64afa3bab22f3faaf32b78a9730b4e69f75491b4880cc4729f6 |
|
MD5 | dab913d338afaebbc633c46bcecdcdc6 |
|
BLAKE2b-256 | 1b44e07b49320e0e707cea62fe25836126e61efd211bf4053c98df8fe7133058 |