Skip to main content

Tool for downloading directories from Github repositories

Project description

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

In code

from octodir import Octodir

target = 'https://github.com/Jalkhov/Octodir/tree/stable/octodir'
folder = '.' # Current working directory

Octo = Octodir(target, folder)
Octo.dowload_folder()

Support me <3

Buy Me A Coffee

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

octodir-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file octodir-1.0.0.tar.gz.

File metadata

  • Download URL: octodir-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for octodir-1.0.0.tar.gz
Algorithm Hash digest
SHA256 02aea9e6df4f1da10b56f67ebb5af77dea7be85774013b178cb1743219929f49
MD5 6443dc908849e2e3c6e6082bad7f9e21
BLAKE2b-256 0c4eeb67aa13ae37da31bd1c5e48124ddaa405851e6ec944a4debc974f6a7623

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page