Skip to main content

CLI for downloading sub-directory of any Github repository!

Project description

Github Sectory

Build Status Downloads HitCount MIT LICENSE

CLI for downloading sub-directory of any Github repository using Github Content API!

Demo

Demo GitHub Sectory

Install

$ pip install github-sectory

Usage

Commands available

$ github-sectory <link_to_repo_directory>

Example:
  $ github-sectory https://github.com/amarlearning/PyStalker/tree/master/version01

OR


$ github-sectory <github_username> -r <repository name> -d <directory name> [arguments]

Needed:
  -r, -d for repository and directory

Optional:
  -b for branch                              [boolean]

Examples:
  $ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications
  $ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications -b gh-pages

Note: Default branch will be master


Issues

You can report the bugs at the issue tracker

OR

You can tweet me if you can't get it to work. In fact, you should tweet me anyway.


License

Built with ♥ by Amar Prakash Pandey(@amarlearning) under MIT License

You can find a copy of the License at http://amarlearning.mit-license.org/

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-sectory-1.3.5.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file github-sectory-1.3.5.tar.gz.

File metadata

  • Download URL: github-sectory-1.3.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for github-sectory-1.3.5.tar.gz
Algorithm Hash digest
SHA256 5adff423c7b22b302d5a55d923a8266c9e600aa92777cd8da8b7b67e7c339db2
MD5 b94b1d01cd2e8821b705629c2e50ea64
BLAKE2b-256 8cb278de245588a2bfe074cacc4ee65775aac3190dd19d2321b2b2fc9dc28b48

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