{"id":27830,"library":"ghpush","title":"ghpush","description":"An AI tool for pushing files to GitHub repositories with automatic commit and pull request creation. Current version 0.1.8, supports Python >=3.8. Low release cadence.","status":"active","version":"0.1.8","language":"python","source_language":"en","source_url":"https://github.com/sukeesh/ghpush","tags":["github","push","cli","ai"],"install":[{"cmd":"pip install ghpush","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"No common wrong import path; library is imported as a module.","wrong":"","symbol":"ghpush","correct":"import ghpush"}],"quickstart":{"code":"import ghpush\nimport os\n\n# Set required environment variables\nos.environ['GITHUB_TOKEN'] = ''  # Replace with your token\nos.environ['REPO_OWNER'] = 'owner'\nos.environ['REPO_NAME'] = 'repo_name'\n\n# Push files using CLI (programmatic usage not documented)\n# Run from command line: ghpush /path/to/files\n","lang":"python","description":"Setup requires GITHUB_TOKEN, REPO_OWNER, REPO_NAME environment variables. Main usage is CLI: ghpush <files>."},"warnings":[{"fix":"Set environment variables or pass via command-line options (not supported in programmatic use).","message":"Environment variables must be set before calling ghpush. Missing any of GITHUB_TOKEN, REPO_OWNER, REPO_NAME will cause failure.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the CLI interface: `ghpush /path/to/file`. For scripting, use subprocess calls.","message":"The library is primarily a CLI tool. Programmatic Python usage is not documented and may not be stable.","severity":"gotcha","affected_versions":"all"},{"fix":"If you see 'gpush' in old code, update to 'ghpush' and reinstall.","message":"Early versions were named 'gpush'. The package was renamed to 'ghpush' from version 0.1.1.","severity":"deprecated","affected_versions":"<0.1.1"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Set environment variable: export GITHUB_TOKEN='your_token' (or set in Python via os.environ).","cause":"GITHUB_TOKEN not set before running ghpush.","error":"Error: Missing required environment variable GITHUB_TOKEN"},{"fix":"Uninstall gpush (pip uninstall gpush) and install ghpush (pip install ghpush).","cause":"Old package name 'gpush' used, but package was renamed to 'ghpush'.","error":"ModuleNotFoundError: No module named 'gpush'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}