finalynx.budget.budget
ο
Module Contentsο
Classesο
APIο
- class finalynx.budget.budget.Budget(service_account_path: Union[str, pathlib.Path, None] = None)[source]ο
Initialization
- MAX_DISPLAY_ROWSο
10
- set_gspread_token_path(path: Union[str, pathlib.Path]) None [source]ο
Set the path to the Google Sheets token file, defaults to the OSβs default directory.
- fetch(clear_cache: bool, force_signin: bool = False) rich.tree.Tree [source]ο
Get expenses from all sources and return a rich tree to summarize the results. This method also updates the google sheets table with the newly found expenses and prepares the list of βpendingβ expenses that need user reviews.
- render_summary() rich.tree.Tree [source]ο
Render a summary of the budget, mainly the current and previous monthβs totals.