Registry / devops / gh-toolkit

gh-toolkit

JSON →
library0.19.1pypypiunverified

A toolkit for managing and presenting GitHub repository portfolios. Version 0.19.1, requires Python >=3.12. Actively maintained with monthly releases.

pip install gh-toolkit
INSTALL
IMPORT
SIG · GH-TOOLKIT
G
gh-toolkit
devopspythonv0.19.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GitHubClient
from gh_toolkit import GitHubClient
from gh_toolkit.github import GitHubClient

Initialize the client with a GitHub personal access token and list repositories.

import os from gh_toolkit.github import GitHubClient client = GitHubClient(token=os.environ.get('GITHUB_TOKEN', '')) # List repositories for a user repos = client.get_user_repos('octocat') for repo in repos: print(repo['name'])
gh --version
Debug
Known issues
breakingThe constructor signature changed in v0.18.0: now requires keyword argument 'token' instead of positional.
fix
Use `GitHubClient(token=os.environ.get('GITHUB_TOKEN', ''))`.
affects: <0.18.0
deprecatedMethod `get_repos()` is deprecated since v0.17.0; use `get_user_repos()` instead.
fix
Replace `client.get_repos('user')` with `client.get_user_repos('user')`.
affects: >=0.17.0
gotchaThe library expects a GITHUB_TOKEN environment variable by default; if not set, many calls fail with 401.
fix
Always set GITHUB_TOKEN or pass token explicitly.
affects: all
Upgrade
Version history
0.19.1latest on PyPI · released Mar 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
58 hits · last 30 days
node
52
OpenAI (training)
1
Resources
gh-toolkit — pip install gh-toolkit · libregistry