Skip to main content

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.

Release files for allhub 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allhub 0.0.7
File Size Uploaded
allhub-0.0.7.tar.gz 38.5 kB Details

Release files / allhub-0.0.7.tar.gz

Download URL allhub-0.0.7.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
27e85d1ff4a37eb9e95a0674606e2c1de29ef3406d9de67a156fe062f89b724d
BLAKE2b-256 checksum
How to use checksums
7b4e7115578192d1de1ccccc1432d26c5165077cc6e970b7ccab9d7387ace1b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 release file

0.0.6

1 release file

0.0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page