Metadata-Version: 2.0
Name: github-download-count
Version: 0.0.1
Summary: Display download counts of GitHub releases
Home-page: https://github.com/brbsix/github-download-count
Author: Brian Beffa
Author-email: brbsix@gmail.com
License: GPLv3
Keywords: GitHub,API,release,download,count
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Requires-Dist: requests
Provides-Extra: testing
Requires-Dist: pytest-cov; extra == 'testing'
Requires-Dist: pytest-pylint; extra == 'testing'
Requires-Dist: requests-mock; extra == 'testing'

github-download-count
=====================

|PyPI Package latest release| |License| |PyPI Wheel| |Supported
versions| |Build Status| |Coverage Status|

Display download counts of GitHub releases.

Usage
-----

::

    usage: github-download-count [-s] USER [REPO] [RELEASE]

    Display download counts of GitHub releases.

    positional arguments:
      USER             GitHub username
      REPO             GitHub repository
      RELEASE          release tag

    optional arguments:
      -s, --summarize  display only a total download count

Examples
--------

Request a `personal access token <https://github.com/settings/tokens>`__
(NOTE: no special permissions are required) to store in your *.bashrc*
or use as follows:

::

    $ GITHUB_TOKEN=3389dd5d468cd41f8812402d494089f4d1c934a7 github-download-count google

    access-bridge-explorer
    12     AccessBridgeExplorer-0.9.3.zip
    1      AccessBridgeExplorer-0.9.2.zip
    2      AccessBridgeExplorer-0.9.1.zip
    3      AccessBridgeExplorer-0.9.0.zip

    allocation-instrumenter
    10     java-allocation-instrumenter-3.0-javadoc.jar
    7      java-allocation-instrumenter-3.0-sources.jar
    93     java-allocation-instrumenter-3.0.jar

    android-classyshark
    348    ClassyShark.jar
    2423   ClassyShark.jar
    1255   ClassyShark.jar
    636    ClassyShark.jar
    199    classyshark.apk

Display total download counts:

::

    $ github-download-count google -s

    18     access-bridge-explorer
    110    allocation-instrumenter
    4861   android-classyshark

Display download count for a particular release tag:

::

    $ github-download-count adobe brackets release-1.6

    9937     Brackets.Release.1.6.32-bit.deb
    31634    Brackets.Release.1.6.64-bit.deb
    54512    Brackets.Release.1.6.dmg
    150987   Brackets.Release.1.6.msi

.. |PyPI Package latest release| image:: https://img.shields.io/pypi/v/github-download-count.svg
   :target: https://pypi.python.org/pypi/github-download-count
.. |License| image:: https://img.shields.io/pypi/l/github-download-count.svg
   :target: https://raw.githubusercontent.com/brbsix/github-download-count/master/LICENSE.md
.. |PyPI Wheel| image:: https://img.shields.io/pypi/wheel/github-download-count.svg
   :target: https://pypi.python.org/pypi/github-download-count
.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/github-download-count.svg
   :target: https://pypi.python.org/pypi/github-download-count
.. |Build Status| image:: https://travis-ci.org/brbsix/github-download-count.svg?branch=master
   :target: https://travis-ci.org/brbsix/github-download-count
.. |Coverage Status| image:: https://coveralls.io/repos/github/brbsix/github-download-count/badge.svg?branch=master
   :target: https://coveralls.io/github/brbsix/github-download-count?branch=master


