Download individual files and folders from Github
Project description
Github-dlr
Download individual files and folders from GitHub recursively.
Motivation
The project aims to save time and resources by allowing users to download only the specific folders and files they need from a GitHub repository, without the hassle of cloning the entire repo. It's designed for efficiency, making development and learning more streamlined.
Install
Requires Python version 3.8 or higher.
pip install github-dlr
or using pipx
pipx install github-dlr
Usage
[!NOTE] Using the tool is straightforward, copy the GitHub URL of the target repository folder and paste it after the command
github-dlror it's aliasgh-dlr.
github-dlr <github_path>
# Basic Example
github-dlr https://github.com/makccr/wallpapers/blob/master/wallpapers/space
[!NOTE] By default it will download the entire folder from GitHub and place in the current directory from where the command is being executed. If you want to specify a different output directory, you can do it via the
--outputor-oflag.
github-dlr --output wallpapers https://github.com/makccr/wallpapers/blob/master/wallpapers/space
Find all available options using --help
usage: github-dlr [-h] [-o] [-v] github_path
Download folders and files from Github.
positional arguments:
github_path Github directory full URL path
options:
-h, --help show this help message and exit
-o, --output Destination directory to download to
-v, --version show program version number and exit
Thanks for using github-dlr!
LICENSE
MIT License © Rocktim Saikia 2025
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_dlr-0.1.3.tar.gz.
File metadata
- Download URL: github_dlr-0.1.3.tar.gz
- Upload date:
- Size: 543.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82d0a93877731b9b6e236320dc5e5e2a5969ec4121e2f49c7ac70c198892e406
|
|
| MD5 |
f314280ce024bf56d9fdd958995b9984
|
|
| BLAKE2b-256 |
ed69d97ad83b279dfc2f3cccf120ed48344b8ff91ced6023d266bc475a53100c
|
Provenance
The following attestation bundles were made for github_dlr-0.1.3.tar.gz:
Publisher:
release.yml on rocktimsaikia/github-dlr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
github_dlr-0.1.3.tar.gz -
Subject digest:
82d0a93877731b9b6e236320dc5e5e2a5969ec4121e2f49c7ac70c198892e406 - Sigstore transparency entry: 1449185210
- Sigstore integration time:
-
Permalink:
rocktimsaikia/github-dlr@dd38ce3513e18f1fe78d65ccffccdad77c52d16c -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/rocktimsaikia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dd38ce3513e18f1fe78d65ccffccdad77c52d16c -
Trigger Event:
release
-
Statement type:
File details
Details for the file github_dlr-0.1.3-py3-none-any.whl.
File metadata
- Download URL: github_dlr-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9135fc9dcb952a53de14c4dcbd8fd6fee085c577ec6c674c675e055d8671b04a
|
|
| MD5 |
b3272e3b5e628cb434a653efad26bc02
|
|
| BLAKE2b-256 |
03d62dca5403116dc78def70cbc74399a24e51db4645d7dc9797058c31d13bd2
|
Provenance
The following attestation bundles were made for github_dlr-0.1.3-py3-none-any.whl:
Publisher:
release.yml on rocktimsaikia/github-dlr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
github_dlr-0.1.3-py3-none-any.whl -
Subject digest:
9135fc9dcb952a53de14c4dcbd8fd6fee085c577ec6c674c675e055d8671b04a - Sigstore transparency entry: 1449185222
- Sigstore integration time:
-
Permalink:
rocktimsaikia/github-dlr@dd38ce3513e18f1fe78d65ccffccdad77c52d16c -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/rocktimsaikia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dd38ce3513e18f1fe78d65ccffccdad77c52d16c -
Trigger Event:
release
-
Statement type: