This project has been archived by its maintainers, and is no longer receiving any updates.
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| octodir-1.1.0.tar.gz | 4.8 kB | Without provenance | Details for octodir-1.1.0.tar.gz |
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
|
Security for octodir 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.