Skip to main content

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


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)

Uploaded Source

Built Distribution

ghutter-0.1.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

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

Hashes for ghutter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2432ac7fca324db09b30a297c3472c77451249813b376e36ade40328b4cd0492
MD5 be86da201a254f95e6a616bace61dd7c
BLAKE2b-256 5c2e5f0fde6d08bf43597da973767da33e28e6cc7e362534a8bd257ebd59e75a

See more details on using hashes here.

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

Hashes for ghutter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b15784d17b177fbdc0b35f9faa7c11d55de216a0a0c6e7d8cfc2fb04d985c53
MD5 3a6eacdc1bf73b71476ce89e98138505
BLAKE2b-256 a2f5e910c6b6d1fca16b2da14e595aac47803c5059e71bcd80ecad1667b9e7b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page