Skip to main content

pqgit (Python Qt Git)

pqgit is a graphical git browser. It shows the branches and the commit log of a repo. It also shows diffs or launches an external differ (default: meld) to do that.

Installation

pip install pqgit

Usage

When you first run pqgit, it shows a file open dialog; open the .git directory of your project. Change project with Ctrl+O.

You can select one or two commits in the history panel (diff to parent or to each other).

Double-click on some file to open the external differ.

Change branch by selecting one. Be aware that this actually does a checkout! It will not delete your working files (I hope :D), but will leave the repo on that branch. I don't like it, but that's how pygit2 behaves (at least I couldn't find out how to just display some branch without checking it out)

Configuration

Not much at the moment.

To change the default diff tool, set it in ~/.config/pqgit/config.ini, like:

[General]
diff_tool=bcompare
...

Screenshot

Alt text

Contributing

This project uses tabs. Please use the included .style.yapf and .pylintrc

If you want to change the UI, edit pqgit.ui with Qt Designer, then run:

pyside2-uic pqgit.ui >| src/pqgit/ui.py

Wheel package (for PyPi / installing with pip)

Install locally

pip install -e .

Create packages for PyPi

python3 setup.py sdist bdist_wheel
pip install --force-reinstall --no-deps dist/pqgit-<VERSION>-py3-none-any.whl

Metadata

Release files for pqgit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pqgit 0.1.0
File Size Uploaded
pqgit-0.1.0.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pqgit 0.1.0
File Interpreter ABI Platform
pqgit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / pqgit-0.1.0.tar.gz

Download URL pqgit-0.1.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8da8bb49ffe24799838e63ec347344964782a9a3c9f33950c00237d831f4e724
BLAKE2b-256 checksum
How to use checksums
e710647ac2342b09c85cc960e2d482215f8c8cbbc776cee564d1d3bc7eaee089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

Release files / pqgit-0.1.0-py3-none-any.whl

Download URL pqgit-0.1.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f93b966ff23e21a84038beac2642ba655e1021797735ddc15711793a8d63abb5
BLAKE2b-256 checksum
How to use checksums
3293cd679678b45a499e89dd49c97b9309ffb7176742ad9a6958edcb7d25769c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page