Metadata-Version: 2.1
Name: notevault
Version: 0.4.0
Summary: save parsed markdown into sqlite db
Author-Email: sysid <sysid@gmx.de>
License: MIT
Requires-Python: >=3.10
Requires-Dist: sqlite-utils>=3.35.1
Requires-Dist: markdown>=3.5.1
Requires-Dist: bs4>=0.0.1
Requires-Dist: pydantic>=2.4.2
Requires-Dist: dateparser>=1.1.8
Requires-Dist: sqlalchemy>=2.0.23
Requires-Dist: alembic>=1.12.1
Requires-Dist: typer>=0.9.0
Requires-Dist: pydantic-settings>=2.0.3
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: parsy>=2.1
Description-Content-Type: text/markdown

# NoteVault

Define a schema over markdown documents and store certain sections as columsn in sqlite database.

Every list item must have a `name` as unique key. For non-list items the key is the heading.

## Format
Sections are defined by headings.
Fields (extraction units) correspond to "Tags", e.g. `li, h2`, i.e. `p` should not be a field
because it can contain other tags and newlines.

### Single Item:
- spec: `is_list: false`
- markdown lists as fields: `- key: value`

### Multiple Items:
- spec: `is_list: true`

#### sub-headings
- substructure: format: `## Title x`
can contain:
- markdown lists as fields: `- key: value`
- sub-headings as simple content fields

#### markdown lists
- substructure: format: `- key: value, key: value, key: "complex, value"`
