Reference
ledger-cli
- class ledgercli.main.Ledger(output_dir: Path, bank: str | None)[source]
Ledger.
- init_history() None[source]
Creates history dataframe.
All transactions (TX) are grouped by date and a cumulative sum is calculated while taking starting_balance into account. history gets rewritten everytime it’s generated and based on TX as there is no way to generate a valid cumulative sum after coalescing or distributing.
- init_metadata(export_path: Path) None[source]
Initialize metadata from export.
- Parameters:
export_path – path to export
- init_tx(export_path: Path) None[source]
Add export to transactions.
- Parameters:
export_path – path to export
- update(export_path: Optional[Path] = None) None[source]
Wrapper for updating the Ledger.
- Parameters:
export_path – path to export