skip to navigation
skip to content

brain_dump 1.1.3

Tools to generate mindmaps compatible from markdown-like text files, either as PNG with graphviz or as wisemapping-compatible XMLs

Tools to generate mindmaps compatible from markdown-like text files, either as PNG with graphviz or as wisemapping-compatible XMLs.

A viewer for those can be found here: https://github.com/Lucas-C/wisemapping-mindmap-viewer

Also include a [Twilio](https://www.twilio.com) webhook that can receive updates for such markdown-like mindmap files, stored in git.

For more information, I wrote some [blog posts](https://chezsoi.org/lucas/blog/tag/mindmap/) explaining the role of those scripts.

Usage

wisemapping_md2xml examples/welcome.md > welcome.xml
graphviz_md2png examples/seasons.md

Deployment

upstart job using pew & uwsgi: /etc/init/brain_dump.conf

start on startup

script
    set -o errexit -o nounset -o xtrace
    cd /path/to/git/dir
    exec >> upstart-stdout.log
    exec 2>> upstart-stderr.log
    date
    APP_SCRIPT=$(dirname $(pew-in brain_dump python -c 'import brain_dump; print(brain_dump.__file__)'))/twilio_webhook_gitdb_app.py
    LANG=fr_FR.UTF-8 pew-in brain_dump uwsgi --buffer-size 8000 --http :8087 --manage-script-name --mount /webhook=$APP_SCRIPT
end script

Contributing

pip install -r dev-requirements
pre-commit install

The 2nd command install the pre-commit hooks

To only execute a single unit test:

py.test -k 'test_topic_from_line[toto-expected_topic0]'
 
File Type Py Version Uploaded on Size
brain_dump-1.1.3-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2017-09-23 13KB
brain_dump-1.1.3.tar.gz (md5, pgp) Source 2017-09-23 10KB