Tools to generate mindmaps compatible from markdown-like text files, either as PNG with graphviz or as wisemapping-compatible XMLs
Project description
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 webhook that can receive updates for such markdown-like mindmap files, stored in git.
For more information, I wrote some blog posts 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
Changelog
https://github.com/Lucas-C/brain_dump/blob/master/CHANGELOG.md
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]'
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
Built Distribution
File details
Details for the file brain_dump-1.1.5.tar.gz
.
File metadata
- Download URL: brain_dump-1.1.5.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.4 CPython/3.6.1 CYGWIN_NT-10.0/2.9.0(0.318/5/3)
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a73a17c2b577bde810fbaa5ef3c9a1f44554159f9f63ab38eadde57eb00988 |
|
MD5 | d34759197aa4f2dc3fee22fb1bd07601 |
|
BLAKE2b-256 | 9b1f850211b94db37be363a4b4bc23419545d4ddb439556091ec98f18a49fc56 |
File details
Details for the file brain_dump-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: brain_dump-1.1.5-py3-none-any.whl
- Upload date:
- Size: 64.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.4 CPython/3.6.1 CYGWIN_NT-10.0/2.9.0(0.318/5/3)
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad10c541d29de7ff686651aff86294b79613e30336ba6334f270f5302e6b821 |
|
MD5 | 1b64c750c87a558ad334cee5ace82f9f |
|
BLAKE2b-256 | 4059e41676f7ef9f8b0c29a9b044111104a736acbd93015ad4da006bf2391c0e |