Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Download individual directorys from GitHub repository

License

Notifications You must be signed in to change notification settings

Jalkhov/octodir

Repository files navigation

Tool for downloading directories from Github repositories.

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

About

Download individual directorys from GitHub repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /