HNHacker News
TopNewBestAskShowJobs

srbd

7 karma · joined August 28, 2022

submissionscomments
srbd··on Show HN: Py-obsidianmd, a Python library for Obsidian users
> IMO, You can also put scripts in github for more precise use cases (data maintenance...), to showcase the possibilities.

That's how I use the library for my personal vault. Its a nice idea to share them as recipe scripts :thumbsup: I'll dig into that.

> It seems some people are using https://python-frontmatter.readthedocs.io/en/latest/index.ht... for raw batch editing

I use that library too, in fact it is the only dependency of py-obsidianmd. It's only used to load the frontmatter though.

> that was my point : to show how your solution augment what dataview and DB-folder already offers (augment, not replace)

That could be a standalone video, indeed. Show a workflow with dataview, and going further with python scripting and py-obsidianmd.

Some plugins are being developed to run python scripts directly within obsidian (https://github.com/mProjectsCode/obsidian-script-runner-plug...),, so one can imagine running his maintenance recipes etc. without leaving the vault. Many possibilities !

srbd··on Show HN: Py-obsidianmd, a Python library for Obsidian users
Lots of great application ideas, thanks for sharing. I'll think about it when expanding the tutorials.

Same as you, I think it would be nice to have editable dataview tables; but I'm not sure this library is the answer to that. That type of feature should be directly implemented in dataview. I believe the DB-folder plugin solves this problem: https://www.youtube.com/watch?v=ibarYqG4W5I

But I haven't tested it yet. The video presentation seems very instructive: https://www.youtube.com/watch?v=ibarYqG4W5I

srbd··on Show HN: Py-obsidianmd, a Python library for Obsidian users
Hey @CrypticShift, indeed the library was designed for that type of data manipulation, which I wasn't able to do using other plugins.

The idea was to create an intuitive bridge with python, so any type of advanced operations could be performed on your vault.

It is still in it's early stages, so do backup your vault before using it. And feel free to share your feedback if/when you use it !

Cheers