Skip to main content

Interact with Github REST API v3

Project description

About allhub

allhub is a REST API library for Github REST API v3 written in python. Currently, this library is under heavy development. Maybe i will cut a release once i am confident that major part of the library covered with tests.

Features

  1. allhub is heavily inspired by Javascript, meaning that you can access the properties on JSON object either object.prop or object["prop"]. I feel the later version is kind of verbose, and I recommend you use the object.prop.

  2. I have seen most of the Github libraries are not covered comprehensively. But this library aims to covers all of REST API v3.

  3. I have designed this library keeping programmer ergonomics in mind, so that you create only one object to access any of the API.

License

Apache License 2.0 MIT

in case you need some other license, please let me know.

Examples

from allhub import AllHub
allhub = AllHub(
"username",
"tokenxxxxxxxxxxxxxxx",
"app_tokenxxxxxxxxxxxxxx",
"password"
)
response = allhub.xxxxxxxxx()

TODO

allhub requires some love. Currently, unit tests are almost non existent. Love to take the coverage to 100%. But I am severely limited by time and priorities. If someone wants to send unit tests, please fork and send the patch away.

You are more than welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llhub-0.0.7.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llhub-0.0.7-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file llhub-0.0.7.tar.gz.

File metadata

  • Download URL: llhub-0.0.7.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for llhub-0.0.7.tar.gz
Algorithm Hash digest
SHA256 cee2adf6b9a9581e35d965db5952d9ab822caf9e11f68a3a785453187c9d3581
MD5 975c891bf50b7d51587936e6492532b9
BLAKE2b-256 d44ce51bf5bdb5a602ce6acedb94adf4e6006567ac313a0d9f1c0a547cc2a0f4

See more details on using hashes here.

File details

Details for the file llhub-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: llhub-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for llhub-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d8a15598bd1eb32e57b54d7008112ae529cda577e39437e7e52da24f5e8aba
MD5 7a2722167e96013dfc586a96d2dc3035
BLAKE2b-256 3180a8ba3a3d93516292e85f0fc4ee56297f0de0c1b85499d068381dd66fb29e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page