Registry / devops / ghops
library1.0.0pypypi✓ verified 81d ago

Deprecated Python library for GitHub repository operations. Version 1.0.0 is the final release. Users should migrate to repoindex (https://pypi.org/project/repoindex/), which supersedes ghops with expanded features including MCP server, export commands, and support for Gitea/Codeberg.

pip install ghops
INSTALL
IMPORT
SIG · GHOPS
G
ghops
devopspythonv1.0.0
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.

warnings
from ghops import warnings
from ghops import GHOps

Initialize GHOps with a GitHub PAT and list repositories.

from ghops import GHOps import os token = os.environ.get('GITHUB_TOKEN', '') if not token: raise ValueError('GITHUB_TOKEN environment variable is required') gh = GHOps(token=token) print(gh.list_repos())
Debug
Known issues
deprecatedghops is deprecated and will not receive updates or bug fixes. Migrate to repoindex.
fix
pip install repoindex and update imports: from repoindex import ...
affects: >=1.0.0
gotchaGHOps token authentication fails silently if GITHUB_TOKEN is not set or invalid, returning empty results.
fix
Always verify token validity: raise error if token is empty or response is 401.
affects: all
gotchaList method pagination is not automatically handled; you must manually iterate pages.
fix
Use the `page` parameter in list methods or paginate with a loop.
affects: <1.0.0
Upgrade
Version history
1.0.0latest on PyPI · released Feb 14, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
ghops — pip install ghops · libregistry