Silletr/PyGit

If you using Github CLI - Thats the same, but for use though a Python code - library to work with it, but with some more beautiful CLI-UI

โ˜… 1Forks 0PythonGitHub โ†—Compare

README

๐Ÿ’ซ PyGit

Git + GitHub CLI, but in Python.
Less typing in terminal โ€” more coding in editor.

Preview

GitHub Stars Issues Python License Last Commit

Why PyGit?

  • Beautiful TUI (thanks to Typer)
  • One command for everything: pygit pull, pygit commit "fix bug", pygit push
  • Custom logs per command (logs/pull.log, logs/commit.log, etc.)
  • Built-in gh CLI integration (auth, repo create, etc.)
  • Zero external dependencies hell โ€” works in poetry/venv

Quick Start

# Install from PyPi (recommend)
pip3 install pygit-silletr

# Install from git
pip install git+https://github.com/Silletr/PyGit.git

# Or clone & install editable
git clone https://github.com/Silletr/PyGit.git
cd PyGit
poetry install
poetry shell

# Use it
pygit auth status
pygit commit "feat: add push command"
pygit pull
pygit push

Development

git clone https:github.com/Silletr/PyGit.git
cd PyGit
poetry install
poetry shell

# Run any command
pygit auth status

Contribuing

PR's are welcome! But for Major changes open the issue first pls!

License

MIT - do whatever tf you want because im not greed :D

Contributors

Silletr

Issues