Tool for downloading directories from Github repositories
Project description
Tool for downloading directories from Github repositories.
ALERT: Not authenticated requests have limits, fixing for add API Key support.
Installation
$ pip install octodir
Use
From the console
$ octodir
You will be asked for the following data:
- Full folder url: Direct url to the target folder
- Example:
https://github.com/Jalkhov/octodir/tree/stable/octodir
- Example:
- Output folder: Absolute path of the output directory
- You can enter a dot to download in the current working directory
- API key: Personal Github Token for prevent requests limit
In code
from octodir import Octodir
target = 'https://github.com/Jalkhov/Octodir/tree/stable/octodir'
folder = '.' # Current working directory
api_key = '<PERSONAL_GITHUB_TOKEN>'
Octo = Octodir(target, folder, api_key=api_key)
Octo.dowload_folder()
Support me <3
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
octodir-1.1.0.tar.gz
(4.8 kB
view details)
File details
Details for the file octodir-1.1.0.tar.gz
.
File metadata
- Download URL: octodir-1.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579e24388a30245dace930a2f0e73dd1bd46e33cb2329a3ee939cce5f63ea2b2 |
|
MD5 | 4c6e3f0936edbc3b588a8ce6aff4d90d |
|
BLAKE2b-256 | dfd55f5e3cf6b901610a8020f7189d65e73f6c0af77042f3c314a71e7c632a4a |