Skip to main content

Draw DAGs (directed acyclic graphs) as ASCII art, à la git log --graph

Project description

Travis CI status AppVeyor CI status Coverage Requirements Status

Overview

This is a direct port of the Git log graphing code, which draws directed acyclic commit graphs as ASCII art. It was done very mechnically and quickly, so the code is not Pythonic. Dependencies on Git specifics should be gone but look and feel remains.

This project is alpha quality and subject to breaking API changes.

If you are thinking about doing a large refactoring, please submit an issue for discussion first; I consider it potentially worth staying close to the Git source.

Usage

git clone https://github.com/sambrightman/asciidag.git
cd asciidag && pip install .
tests/demo.py

You likely need to use sudo for the install unless you work in a Python virtual environment or use the --user option to pip. Will soon be on PyPI.

Demonstration screenshot
copyright:

© 2016 Sam Brightman

license:

Mozilla Public License version 2.0, see LICENSE for more details.

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

asciidag-0.1.0.tar.gz (12.3 kB view hashes)

Uploaded Source

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