Skip to main content

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


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

github_sectory-1.2.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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