ghutter is a tool to recreate the history of a GitHub repository
Project description
GHutter
GHutter is a tool to recreate the history graph of a GitHub repository in Graphviz's Dot Language
Install
Ghutter is available on PyPI
pip install ghutter
Usage
usage: python -m ghutter [-h] [-t TOKEN] [--max-commits MAXCOMMITS] [-d DOTOUTPUT] [-o DRAWOUTPUT] repository
'GHutter' is a tool to recreate the history graph of a GitHub repository in Graphviz's Dot Language
positional arguments:
repository github repository in format "owner/repository" or url
options:
-h, --help show this help message and exit
-t TOKEN, --token TOKEN
github personal access token
--max-commits MAXCOMMITS
max number of commits to fetch from the history. If it is omitted it tries to fetch the whole
history (parents will always be shown)
-d DOTOUTPUT, --dot-output DOTOUTPUT
graph dot file output path (default 'history.dot')
-o DRAWOUTPUT, --draw-output DRAWOUTPUT
graph render output path (there may be several). Check 'Graphviz' supported formats on your
system
Example
python -m ghutter -t <token> --max-commits 1000 -d history_graph.dot -o history.svg -o history.png archlinux/linux
License
This project is licensed under the terms of the GPL-3.0 license.
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
ghutter-0.1.1.tar.gz
(16.9 kB
view details)
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
ghutter-0.1.1-py3-none-any.whl
(19.9 kB
view details)
File details
Details for the file ghutter-0.1.1.tar.gz.
File metadata
- Download URL: ghutter-0.1.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.4.12-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2432ac7fca324db09b30a297c3472c77451249813b376e36ade40328b4cd0492
|
|
| MD5 |
be86da201a254f95e6a616bace61dd7c
|
|
| BLAKE2b-256 |
5c2e5f0fde6d08bf43597da973767da33e28e6cc7e362534a8bd257ebd59e75a
|
File details
Details for the file ghutter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ghutter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.4.12-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b15784d17b177fbdc0b35f9faa7c11d55de216a0a0c6e7d8cfc2fb04d985c53
|
|
| MD5 |
3a6eacdc1bf73b71476ce89e98138505
|
|
| BLAKE2b-256 |
a2f5e910c6b6d1fca16b2da14e595aac47803c5059e71bcd80ecad1667b9e7b1
|