fix: repair search, notes, clean, move, import and write, speed up indexing, migrate packaging to pyproject and uv

This commit is contained in:
randogoth 2026-10-24 21:06:34 +03:00
parent 85d93e3dae
commit f04554a52c
27 changed files with 1147 additions and 1852 deletions

View file

@ -20,16 +20,24 @@ Exactly like tasks in todo.txt, files can be categorized by freely defined conte
So a as an example an audio-file could be assigned to project `+album` and have a context of `@drums` and tagged with `#boombap`, `#lofi`, `#snare`. It's completely up to you how you use the different means of categorization.
## Installation
```
$ uv tool install 'orvanitag[all]'
```
The core only needs PyYAML and rich. Reading and writing embedded metadata uses optional extras: `audio` (pytaglib, needs the TagLib C library), `pdf` (pypdf), `office` (olefile, only for legacy `.doc`/`.xls`/`.ppt`) and `markdown` (python-frontmatter). Plugins whose extra is not installed are skipped.
## Command Line Tool
### Assigning Contextual Tags
Let's
```
$ orvani add <file/path> [contextual tags ...]
$ otag add <file/path> [contextual tags ...]
```
Removing contextual tags from a file
```
$ orvani remove <file/path> [contextual tags ...]
$ otag remove <file/path> [contextual tags ...]
```