Expand description
Pure operations on beancount directives.
This crate provides reusable functions for transforming and analyzing collections of beancount directives. All operations are pure — they take directives in and return results out, with no I/O or framework coupling.
Analogous to Python beancount’s ops/ module.
§Modules
fingerprint— structural hashing and stable fingerprinting of transactionsdedup— duplicate detection (structural, fuzzy, and fingerprint-based)categorize— rules engine for transaction categorization (substring, regex, exact match)merchants— built-in merchant dictionary of common patternsenrichment— shared types for operation results (confidence, method, alternatives)reconcile— balance reconciliation against statement ending balancesml— ML-based categorization (TF-IDF + Naive Bayes via linfa)transfer— inter-account transfer detection and linkingllm— LLM prompt building for transaction categorization
Modules§
- categorize
- Rules-based transaction categorization.
- dedup
- Duplicate transaction detection.
- enrichment
- Shared types for operation results.
- fingerprint
- Transaction fingerprinting and structural hashing.
- llm
- LLM prompt building for transaction categorization.
- merchants
- Built-in merchant dictionary for transaction categorization.
- ml
- ML-based transaction categorization.
- reconcile
- Balance reconciliation.
- transfer
- Transfer matching across accounts.