Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGhDL

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.

Usage

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>

Example

python pyghdl.py https://github.com/hakluke/how-to-exit-vim/tree/master/assets

License

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

About

(Very) simple Python script to download separate folders in GitHub repositories

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages