2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00
2018-02-05 14:43:08 -06:00

========
Overview
========

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - | |travis| |requires|
        | |codeclimate|
    * - package
      - | |version| |wheel| |supported-versions| |supported-implementations|
        | |commits-since|

.. |docs| image:: https://readthedocs.org/projects/octokit.py/badge/?style=flat
    :target: https://readthedocs.org/projects/octokitpy
    :alt: Documentation Status

.. |travis| image:: https://travis-ci.org/khornberg/octokit.py.svg?branch=master
    :alt: Travis-CI Build Status
    :target: https://travis-ci.org/khornberg/octokit.py

.. |requires| image:: https://requires.io/github/khornberg/octokit.py/requirements.svg?branch=master
    :alt: Requirements Status
    :target: https://requires.io/github/khornberg/octokit.py/requirements/?branch=master

.. |codeclimate| image:: https://codeclimate.com/github/khornberg/octokit.py/badges/gpa.svg
   :target: https://codeclimate.com/github/khornberg/octokit.py
   :alt: CodeClimate Quality Status

.. |version| image:: https://img.shields.io/pypi/v/octokitpy.svg
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/octokitpy

.. |commits-since| image:: https://img.shields.io/github/commits-since/khornberg/octokit.py/v0.1.0.svg
    :alt: Commits since latest release
    :target: https://github.com/khornberg/octokit.py/compare/v0.1.0...master

.. |wheel| image:: https://img.shields.io/pypi/wheel/octokitpy.svg
    :alt: PyPI Wheel
    :target: https://pypi.python.org/pypi/octokitpy

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/octokitpy.svg
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/octokitpy

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/octokitpy.svg
    :alt: Supported implementations
    :target: https://pypi.python.org/pypi/octokitpy


.. end-badges

Python client for GitHub API


Installation
============

**requires python 3.6+**

Yes that is opinionated. Python 2 is near the end of the life and this is a new project.

*Note octokit and octokit.py were already taken in the cheese shop*

::

    pip install octokitpy

Documentation
=============

https://octokitpy.readthedocs.io/


Example
-------

::
    from octokit import Octokit

    repos = Octokit.repos.get_for_org(org='octokit', type='public')

Default values

::
    TODO Show them

Authentication
--------------

Instatiate a client with the authentication scheme and credentials that you want to use.

Example

::

    client = Octokit(type='app', token='xyz')
    client.repos.get_for_org(org='octokit', type='private')

TODO
[ ] basic
[ ] oauth
[ ] oauth key/secret
[ ] token
[ ] app


Pagination
----------

TODO


Development
===========

To run the all tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox

Contributing
============

Pull requests are very welcome!

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information.

Credits
=======

Package based on [cookiecutter-pylibrary](https://github.com/ionelmc/cookiecutter-pylibrary)

License
=======

.. _MIT: LICENSE
S
Description
Python client for GitHub API https://github.com/khornberg/octokit.py
Readme MIT 700 KiB
Languages
Python 100%