Add ledger management service and API integration

- Introduced `LedgerService` to handle ledger file operations, queries, and snapshots.
- Added API routes for journal entry retrieval, account balances, and custom queries using FastAPI.
- Updated project dependencies to include `ruff` for linting, along with its configuration.
- Integrated `lifespan` for managing the lifecycle of `LedgerService`.
This commit is contained in:
2026-01-24 21:45:19 +01:00
parent e807dc62da
commit 78872fd4d6
7 changed files with 449 additions and 6 deletions

3
.idea/misc.xml generated
View File

@@ -4,4 +4,7 @@
<option name="sdkName" value="uv (ledger)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="uv (ledger)" project-jdk-type="Python SDK" />
<component name="RuffConfiguration">
<option name="enabled" value="true" />
</component>
</project>