CLI for downloading sub-directory of any Github repository!
Project description
Github Sectory
|Build Status| |PyPI| |Downloads| |HitCount| |MIT LICENSE| |Say Thanks!|
CLI for downloading sub-directory of any Github repository using
Github Content API!
Demo
.. figure:: https://raw.githubusercontent.com/amarlearning/Github-Sectory/master/extras/sreencast.gif :alt: Demo GitHub Sectory
Demo GitHub Sectory Install
.. code:: pycon
$ pip install github-sectory
Usage
Commands available
.. code:: pycon
$ github-sectory <link_to_repo_directory>
.. code:: pycon
$ github-sectory <github_username> -r <repository name> -d <directory name> [arguments]
::
Needed: -r, -d for repository and directory
::
Optional: -b for branch
::
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 <https://github.com/amarlearning/Github-Sectory/issues>`__
**OR**
You can `tweet me <https://twitter.com/iamarpandey>`__ if you can't get
it to work. In fact, you should tweet me anyway.
License
-------
Built with ♥ by Amar Prakash
Pandey([@amarlearning](http://github.com/amarlearning)) under `MIT
License <http://amarlearning.mit-license.org/>`__
You can find a copy of the License at
http://amarlearning.mit-license.org/
.. |Build Status| image:: https://travis-ci.org/amarlearning/Github-Sectory.svg?branch=master
:target: https://travis-ci.org/amarlearning/Github-Sectory/
.. |PyPI| image:: https://img.shields.io/badge/pypi-v1.1.6-blue.svg
:target: https://pypi.python.org/pypi/github-sectory
.. |Downloads| image:: https://pepy.tech/badge/github-sectory
:target: https://pepy.tech/project/github-sectory
.. |HitCount| image:: http://hits.dwyl.io/amarlearning/Github-Sectory.svg
:target: http://hits.dwyl.io/amarlearning/Github-Sectory
.. |MIT LICENSE| image:: https://img.shields.io/pypi/l/pyzipcode-cli.svg
:target: http://amarlearning.mit-license.org/
.. |Say Thanks!| image:: https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg
:target: https://saythanks.io/to/amarlearning
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for github_sectory-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28e447a2bb254179cce969fa3dfcf1f173b2da1e19845f8a579eb9731a2e2aa |
|
MD5 | cf3f247e4e71d889bdfb165657a28911 |
|
BLAKE2b-256 | 5b3b537d45dd97c6312a57fbf972b92fb0eda20702aa30c5e4d80d59ef124a81 |