gitink: ASCII to SVG Git log graph visualizer.
Project description
gitink
ASCII to SVG Git log graph visualizer. Useful for teaching Git. Under the hood it uses https://github.com/bast/ascii2graph.
Example
$ cat example.txt
[feature]
|
v
x1-----x2
/
c1----c2----m1----c3----c4
\ / ^
b1----b2----b3 |
^ ^ [main,HEAD]
| |
[_branch] [branch]
$ gitink --in-file=example.txt | display
This produces (display command requires imagemagick):
Available options
$ gitink --help
Usage: gitink [OPTIONS]
Options:
--scale FLOAT Scale sizes by this factor.
--in-file TEXT ASCII file to convert.
--time-direction INTEGER Direction of the time arrow (0, 90, 180, or 270).
Default: 90 (right).
--help Show this message and exit.
Installation
$ pip install gitink
How do the colors work?
Coloring is done according to the first character of the commit hash. Other suggestions welcome.
Other projects that are interesting
- Asciio: this project has a Git mode and can be scripted using the API to generate graphs.
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 gitink-0.2.2.tar.gz.
File metadata
- Download URL: gitink-0.2.2.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37d427033829a15c66dadfe22582408a9103819d5163cce8defca29856804fb
|
|
| MD5 |
f344f9e2cb1582a43e2e8f41134dff1d
|
|
| BLAKE2b-256 |
57aef76396edf27226f5771cfd08a74e4fcaa2d51be481a91a35799bedfac1e6
|
File details
Details for the file gitink-0.2.2-py2.py3-none-any.whl.
File metadata
- Download URL: gitink-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e5d9625d32a09eb024fb7f406178187219e488760f8c3fb90e02625159c8efd
|
|
| MD5 |
f2b42b9ed881854f3f5699175abf4cd2
|
|
| BLAKE2b-256 |
b35cf2c949ff42e39ff8003ac7d084a4fc33fb565a688fe1304495a52c110337
|