Python Qt Git browser
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pqgit-0.1.0.tar.gz.
File metadata
- Download URL: pqgit-0.1.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8da8bb49ffe24799838e63ec347344964782a9a3c9f33950c00237d831f4e724
|
|
| MD5 |
8d5d4c668b958c6cdf3a2f59c2f2c710
|
|
| BLAKE2b-256 |
e710647ac2342b09c85cc960e2d482215f8c8cbbc776cee564d1d3bc7eaee089
|
File details
Details for the file pqgit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pqgit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f93b966ff23e21a84038beac2642ba655e1021797735ddc15711793a8d63abb5
|
|
| MD5 |
dfbd39dc1873582fcf3352f15a905a2d
|
|
| BLAKE2b-256 |
3293cd679678b45a499e89dd49c97b9309ffb7176742ad9a6958edcb7d25769c
|