diff options
-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 |