is a (very) simple One-File-Python3-Script used to download separate folders inside existing GitHub repositories, based on this script from GitHub gist.
Very simple means:
- It's one purpose only - it downloads folders inside repos
- No tests
- No error checks
- (Almost) no usage checks
It's a one file script with a one line command and thus requires thinking along.
Edit your GitHub Token (required to bypass the request limit):
token = "YOUR_TOKEN_HERE"
Install requirements.txt (PyGithub) - Note: PyGhDL uses PyGithub 1.58.2
- Newer versions might differ in terms of API authentication
pip install -r requirements.txt
Run the script:
python pyghdl.py <LINK>
python pyghdl.py https://github.com/hakluke/how-to-exit-vim/tree/master/assets
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007