Skip to main content

gh

Build Status PyPI version

Low-level GitHub API request interface. With caching.

It's similiar to the official hub api, but:

  • only GET commands supported
  • automatic caching by ETag and Cache-Control will speed up repeat queries and won't burn your rate limit
  • based on Python

Synopsis

gh repos/dvershinin/lastversion/license # outputs JSON with license of a given repo

Install

pip install --user gh-api

Download files

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

Source Distribution

gh-api-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file gh-api-0.0.1.tar.gz.

File metadata

  • Download URL: gh-api-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for gh-api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d6031b2a2727c54c67ccd8c3136da202b0539aa08d906ef6f5b98d3e4c9e72e1
MD5 db23612950460f59b5492f5ee0168a89
BLAKE2b-256 5e4c0f846306d66fb27ea56677c0b22e6a45d01539554f481db7ac3163f6846e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 file

Supported by

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