{"id":13595807,"url":"https://github.com/Tagirijus/ledger-plot","last_synced_at":"2025-04-09T13:33:30.822Z","repository":{"id":97001651,"uuid":"45789274","full_name":"Tagirijus/ledger-plot","owner":"Tagirijus","description":"Python programm for easy plotting ledger journals with gnuplot","archived":false,"fork":false,"pushed_at":"2019-09-02T12:02:23.000Z","size":18,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T16:42:58.545Z","etag":null,"topics":["accounting","analysis","budget","finances","freelancer","ledger-cli","money","self-employed"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tagirijus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-11-08T16:49:18.000Z","updated_at":"2023-09-02T04:07:55.000Z","dependencies_parsed_at":"2023-03-12T05:30:17.529Z","dependency_job_id":null,"html_url":"https://github.com/Tagirijus/ledger-plot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagirijus%2Fledger-plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagirijus%2Fledger-plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagirijus%2Fledger-plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tagirijus%2Fledger-plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tagirijus","download_url":"https://codeload.github.com/Tagirijus/ledger-plot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223394752,"owners_count":17138610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accounting","analysis","budget","finances","freelancer","ledger-cli","money","self-employed"],"created_at":"2024-08-01T16:01:58.099Z","updated_at":"2024-11-06T18:31:37.258Z","avatar_url":"https://github.com/Tagirijus.png","language":"Python","readme":"# Ledger plot\n\n## Short description\n\nAn approach to an easy to use interface for plotting ledger journals with GNUplot.\n\n\n## Usage\n\nStart the code with a valid ledger journal as a parameter. For example:\n\n\tpython ledger-plot.py /home/user/ledger_files/ledger_2015.journal\n\nThen you can chose a style for the plotting:\n\n\t(1) Lines\n\t(2) Linespoints\n\t(3) Boxes\n\t(4) Linespoints (Autozero)\n\t(5) Boxes (Autozero)\n\tStyle [1]: 2\n\nLet's chose 2. Afterwards we can chose the mode. Chosing `no` will make a plot according to the values of the transactions in the ledger journal. Chosing `yes` would make a plot according to the *number* of transactions of the specific account. Pressing `enter` will chose the defautl value: no.\n\n\tCount entries? [no]:\n\n\tTimespan start [1900/01/01]:\n\nNow we have to set up the time span: start and end date. Just pressing `enter` two times, will probably chose all the journal entries (except you have entries before the 19th century or after the 99th).\n\nAfter this we have to chose, if we want the plot to show us the total amount of the account value, or just the relative values (the amount which was added or subtracted from the specific account). Let's chose total / default.\n\n\tShow (t)otal or (r)elative values? [total]:\n\tInclude past values? [yes]:\n\nNow we can chose if the values before the time span should be included in the calculation or not. It won't make a difference, if there is no start date set, since it would add the values anyway. Let's chose yes / default, which will bring us to the final entry option:\n\n\tAccounts:\n\tAdd account:\n\nHere we see the added accounts and the entry field in which we can add an account. Maybe we have three accounts, but want just two to be plotted. Let's enter them, one for every entry field. The accounts could be `Car Stuff` and `Health` for example. The final output should show this:\n\n\tAccounts:\n\tAdd account: Car Stuff\n\n\tAccounts: Car Stuff\n\tAdd account: Health\n\n\tAccounts: Car Stuff, Health\n\tAdd account:\n\nWhen pressing `enter` now, the plotting will begin and output a file (specified in the python code in the configuration area).\n\nYou can quit the program, by entering `.` in any entry field.\n\n\n## (probably better) Bash scripts\n\nI found some really cool bash scripts on [Sundialdreams.com](https://www.sundialdreams.com/report-scripts-for-ledger-cli-with-gnuplot/). Feel free to check them out as well!\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTagirijus%2Fledger-plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTagirijus%2Fledger-plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTagirijus%2Fledger-plot/lists"}