Skip to main content

a command line tool for downloading repositories and gists

Project description

Build Status codecov

github-dl is a lightweight command line tool for downloading repositories from `github.com <http://github.com>`__ and gists from `gist.github.com <http://gist.github.com>`__. github-dl has been tested on python 2.7.12 and python 3.5.2.

Installation

The project was recently added to PYPI. Feel free to submit an issue if there are any issues with downloading via the command below…

pip install github-dl

Installation (Development)

Install the project by downloading the project as a zip file or cloning the repository. After downloading the source, run the following command to install in the root directory of the project…

pip install -e .

Usage

github-dl’s functionality is currently fairly limited, but the following functionality is supported

usage for both commands

command line argument/option

functionality

--help

list arguments/options for tool

--username

github username for credentials

--password

github password for credentials

--token

github token for credentials

--config

directory to a configuration file

usage specific for $ github-dl

command line argument/option

functionality

queries

query for filtering github repositories

destination

directory to download repositories to

examples:

Download all machine learning related notebooks matching a criteria: - $ github-dl 'machine learning language:jupyter-notebook size:<1000' github-notebooks --config=config.json

usage specific for $ gist-dl

command line argument/option

functionality

sources

list of github users accounts to download gists

destination

directory to download gists to

--extension

file extension to download ex: ipynb

examples:

Download all public jupyter notebooks: - $ gist-dl gist-notebooks --config=config.json --extension=ipynb

Download a specific user’s public jupyter notebooks: - $ gist-dl cameres gist-notebooks --config=config.json --extension=ipynb

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

github-dl-0.1a9.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

github_dl-0.1a9-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file github-dl-0.1a9.tar.gz.

File metadata

  • Download URL: github-dl-0.1a9.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for github-dl-0.1a9.tar.gz
Algorithm Hash digest
SHA256 52871b8af9f59da8e542b4c41635987fd3df9cfa4e965b30c1a767273989913c
MD5 c3de1a65e17ba58e2e7edf2cafd6972a
BLAKE2b-256 541e8afec6d40d6514c8d123a81c05663dae322e2901e09cf8dcc834e5647a7e

See more details on using hashes here.

File details

Details for the file github_dl-0.1a9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for github_dl-0.1a9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 31c7f84e63e54155adcc0581740e807e7fce7e40ad663875883bfb0ed0c6adb6
MD5 d8698c612e35c3f4057833722ab60d46
BLAKE2b-256 1eb49278fe67e5c467c2ae569e530ba8ff25ec84a99a9ae54fcd9d485b4e2255

See more details on using hashes here.

Supported by

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