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 Distribution
github-sectory-1.2.3.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for github_sectory-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | decead62eb9bc3070b3f06c8a554fd6651d833949b82dde2c9a89387276fe56e |
|
MD5 | 0c8549af352f4bdb0e6b8223d923a453 |
|
BLAKE2b-256 | b85a563b624b747e17ea9f41595466e3223c7b6e6d7817ac58e4e29438710019 |