Skip to main content

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
  • 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

Buy Me A Coffee

Metadata

Release files for octodir 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octodir 1.1.0
File Size Uploaded
octodir-1.1.0.tar.gz 4.8 kB Details

Release files / octodir-1.1.0.tar.gz

Download URL octodir-1.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
579e24388a30245dace930a2f0e73dd1bd46e33cb2329a3ee939cce5f63ea2b2
BLAKE2b-256 checksum
How to use checksums
dfd55f5e3cf6b901610a8020f7189d65e73f6c0af77042f3c314a71e7c632a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page