diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-12-18 19:40:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-12-18 19:40:31 -0800 |
commit | f91aa887de7c86248cf1bcecf1879f891f4b38ab (patch) | |
tree | 2a69e40d24c3ead95241bb2b49d67bb05f96726f | |
parent | 96bc49924091126646c545b567252f3916ba0caf (diff) | |
download | sqlite-notebook-f91aa887de7c86248cf1bcecf1879f891f4b38ab.tar.gz sqlite-notebook-f91aa887de7c86248cf1bcecf1879f891f4b38ab.zip |
rename sqlite-notebook
-rw-r--r-- | README.md | 15 | ||||
-rwxr-xr-x | sqlite-notebook.py (renamed from sqlite-markdown.py) | 0 |
2 files changed, 9 insertions, 6 deletions
@@ -1,12 +1,15 @@ -An un-inventively named quick script to process markdown documents, executing -in-line SQL statements against a sqlite database. +# sqlite-notebook -You write a markdown file with code tagged `sql`, then run this script against -it, along with a local sqlite3 database file, and you get HTML output with the -query results in table form. Sort of like a crude/simple jupyter notebook. +An un-inventively named quick script to process markdown documents with inline +SQL queries. -Requires the python package `mistune`. Try something like: +You write a markdown file with code blocks tagged `sql`, then run this script +against it, along with a local sqlite3 database file, and you get HTML output +with the query results in table form. Sort of like a crude/simple jupyter +notebook. + +Requires the python package `mistune` to parse markdown. Try something like: # debian/ubuntu sudo apt install python3-mistune diff --git a/sqlite-markdown.py b/sqlite-notebook.py index 3c9e72c..3c9e72c 100755 --- a/sqlite-markdown.py +++ b/sqlite-notebook.py |