Registry / devops / ghpush

ghpush

JSON →
library0.1.8pypypi✓ verified 85d ago

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.

pip install ghpush
INSTALL
IMPORT
SIG · GHPUSH
G
ghpush
devopspythonv0.1.8
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.

ghpush
import ghpush
No common wrong import path; library is imported as a module.

Setup requires GITHUB_TOKEN, REPO_OWNER, REPO_NAME environment variables. Main usage is CLI: ghpush <files>.

import ghpush import os # Set required environment variables os.environ['GITHUB_TOKEN'] = '' # Replace with your token os.environ['REPO_OWNER'] = 'owner' os.environ['REPO_NAME'] = 'repo_name' # Push files using CLI (programmatic usage not documented) # Run from command line: ghpush /path/to/files
ghpush --version
Debug
Known issues
gotchaEnvironment variables must be set before calling ghpush. Missing any of GITHUB_TOKEN, REPO_OWNER, REPO_NAME will cause failure.
fix
Set environment variables or pass via command-line options (not supported in programmatic use).
affects: all
gotchaThe library is primarily a CLI tool. Programmatic Python usage is not documented and may not be stable.
fix
Use the CLI interface: `ghpush /path/to/file`. For scripting, use subprocess calls.
affects: all
deprecatedEarly versions were named 'gpush'. The package was renamed to 'ghpush' from version 0.1.1.
fix
If you see 'gpush' in old code, update to 'ghpush' and reinstall.
affects: <0.1.1
Errors
Common errors & fixes
Error: Missing required environment variable GITHUB_TOKEN
GITHUB_TOKEN not set before running ghpush.
fix
Set environment variable: export GITHUB_TOKEN='your_token' (or set in Python via os.environ).
ModuleNotFoundError: No module named 'gpush'
Old package name 'gpush' used, but package was renamed to 'ghpush'.
fix
Uninstall gpush (pip uninstall gpush) and install ghpush (pip install ghpush).
Upgrade
Version history
0.1.8latest on PyPI · released Feb 15, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
ghpush — pip install ghpush · libregistry