Browse by type
Hello everone, I like notion database that can create from csv, I also like logseq. But I don't like that notion put my data online. So I try to do something with my basic python knowledge to make a "notion-like table database" in logseq. Feel free to try.
This is a Python script that can read csv file and output a markdown file containing logseq block and block properties (from csv data), and a basic query script to generate a table query (like the format in csv file). The goal is to simulate notion table database in logseq.
Also come with a script to reverse!
I try to fix some problem, also make the usage a little bit easier... maybe not?
python3 > which python
python -V - make sure you have pandas installed, use follow command to check pip list - or install pandas pip install pandas - find your logseq vault
convert '.csv' to '.md' with logseq block structures and a query table with "Table name".
convert '.md' with logseq block structures to '.csv'.



https://user-images.githubusercontent.com/85311840/152845713-166aa24a-fed2-4745-aca5-2953d6388783.mp4
https://user-images.githubusercontent.com/85311840/152845754-997651d8-8bad-4fc9-9ad4-b3eba06d5c48.mp4
$ claude mcp add csv2logseq_block \
-- python -m otcore.mcp_server <graph>