{"id":27815,"library":"ghizmo","title":"ghizmo","description":"ghizmo is an extensible command-line interface for GitHub, built on click and PyGithub. It provides commands for issues, pull requests, releases, and contributor stats. Current version is 0.2.0, with a low release cadence (sporadic updates).","status":"active","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/jlevy/ghizmo","tags":["github","cli","extensible"],"install":[{"cmd":"pip install ghizmo","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"ghizmo is used as a command-line tool; it is not typically imported as a Python library.","symbol":"ghizmo CLI","correct":"import ghizmo"}],"quickstart":{"code":"import os\nimport ghizmo\n\n# Set your GitHub token in environment\nos.environ['GITHUB_TOKEN'] = os.environ.get('GITHUB_TOKEN', '')\n\n# Run CLI commands via ghizmo.cli\nfrom ghizmo.commands import issues\nissues.list_issues('jlevy/ghizmo')","lang":"python","description":"Basic usage: configure GITHUB_TOKEN and call a command."},"warnings":[{"fix":"Consider using the gh CLI or a more actively maintained library.","message":"PyGithub dependency is unmaintained; ghizmo may break with GitHub API changes.","severity":"deprecated","affected_versions":"all"},{"fix":"Set GITHUB_TOKEN before using ghizmo.","message":"GITHUB_TOKEN environment variable is required. Missing token causes silent failures.","severity":"gotcha","affected_versions":"all"},{"fix":"Use a token with appropriate scopes (e.g., repo).","message":"Commands may fail with rate limiting if no token or insufficient permissions.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install via pip install ghizmo, and use it as CLI tool, not import.","cause":"ghizmo not installed or not importable as a library.","error":"ModuleNotFoundError: No module named 'ghizmo'"},{"fix":"Set GITHUB_TOKEN environment variable with a valid token.","cause":"Missing environment variable GITHUB_TOKEN.","error":"KeyError: 'GITHUB_TOKEN'"},{"fix":"Generate a new token at https://github.com/settings/tokens.","cause":"Invalid or expired GitHub token.","error":"github.GithubException: Bad credentials"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}