Obsidian tools - a Python package for analysing an Obsidian.md vault
New features:
connect
method has attachments
argument to give the option to include 'attachment' files like media files and canvas files in the graph
. The behaviour from v0.9 is kept in this new release (via the default attachments=False
).media_file_index
attribute.get_canvas_file_metadata
and get_media_file_metadata
. The get_all_file_metadata
method is new method that is best-placed to get all the metadata for files & notes in a vault.isolated_media_files
and isolated_canvas_files
attributes.nonexistent_media_files
and nonexistent_media_files
attributes.Important API changes vs previous version:
file_index
attribute is now md_file_index
, to avoid ambiguity from the extra support now for media files and canvas files.Other improvements:
gather()
method and processing of HTML content.New features:
Vault
will not account for nested tags (as has previously been the case).n_tags
in get_note_metadata
method.get_wikilink_counts
method added.Other improvements:
Vault
can handle duplicate filenames, better reflecting the 'Shortest path when possible' wikilink setting in Obsidian.source_text
gets cut off after a LaTeX block.md
in them.Package now requires Python 3.9 as a minimum.
Wiki has now been added to the Github repo, to cover detail for advanced users.
Bug fixes:
md_mermaid
extension has been removed. This issue was hard to reproduce so I have removed the extension for now.New features:
get_source_text()
and get_readable_text()
. The old text
attributes and objects have been removed, but they were closest to the source text functionality. The readable text is essentially has a lot of formatting removed, while still retaining the context within notes, so it is in a form that can be used quite easily for NLP analysis. The source text best reflects how notes are formatted in the Obsidian app's 'source mode'.get_math
method and math_index
attribute.Bug fixes:
New features:
Fixes:
New features:
obsidiantools v0.5.0