Python client for GitHub API
Project description
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')
basic:
TODO
oauth:
TODO
oauth key/secret:
TODO
token:
TODO
app:
TODO
Pagination
TODO
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Contributing
Pull requests are very welcome!
Please see CONTRIBUTING.md for more information.
Credits
Package based on cookiecutter-pylibrary
License
MIT
Changelog
0.1.0 (?)
First release on PyPI.
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
Built Distribution
Hashes for octokitpy-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a992238abc5cbd8c0ffe73dd1685346b1368193f90930927d96efb02655a367 |
|
MD5 | 37adcf61dddb64c581b072049eb2f7e5 |
|
BLAKE2b-256 | 80379aaee52a8f0d87849bfe5b71e32490ace5dd37d4e3a2e25643de16d15217 |