Woobank-utils
A set of utilities around woob bank
. woob bank is a console application able
to list your bank accounts balances on supported websites and to see the
expenses details, transfer money, etc.
Why?
woobank-graphite was written to replace boobank-munin as part of a Munin-to-Graphite migration.
woobank-cacher was inspired by boobank-munin's cache mechanism and serves the exact same purpose: limiting the amount of connections to bank websites.
woobank-accounts and woobank-history allow end users to check out their accounts from cached files instead of establishing new connections to their bank websites.
Limitations and known bugs
- woobank-graphite does not send any tags;
- woobank-accounts completely ignores "coming" operations;
- woobank-accounts does not handle multiple currencies very well, especially when computing the total.
Description of utilities
Common behaviour
Most utilities provided by this project will:
- consider
-
as a filepath meaning "use standard input" - default to standard input if no input file are provided
woobank-cacher
Run 1 to n woob bank
commands and save their JSON output to file, along with a timestamp. woobank-cacher also handles "additions", i.e. the ability to insert simple, static data in the JSON output.
Usage: woobank-cacher [-h] [-c CONFIG]
CONFIG
defaults to ~/.config/woobank-utils/cacher.json
. See the conf subdirectory for a sample configuration file.
woobank-graphite
Take a JSON file created by the "woob bank list" command and send it to a Graphite instance.
Usage: woobank-graphite [-h] [-gh HOST] [-gp PORT] [json_file]
woobank-accounts
Take a JSON file created by the "woob bank list" command and display its contents in your terminal.
Usage: woobank-accounts [-h] [json_file [json_file ...]]
woobank-history
Take a JSON file created by the "woob bank history" command and display its contents in your terminal.
Usage: woobank-history [-h] [-c COUNT] [json_file]
License
This project is licensed under WTFPL.
Commit History @master
- Rename everything as this project now relies on woob. Xavier G 2 years ago
- Do not attempt to deduplicate filepaths. Xavier G 4 years ago
- Switch to Python 3. Xavier G 5 years ago
- Boobank now provides amounts and balances as strings. Xavier G 5 years ago
- Bump copyright year. Xavier G 5 years ago
- boobank-cacher: do not cache data-less results. Xavier G 6 years ago
- Indicate that the project is licensed under WTFPL. Xavier G 7 years ago
- Improve README. Xavier G 7 years ago
- boobank-accounts: fix --help. Xavier G 7 years ago
- Pylint boobank-cacher. Xavier G 7 years ago
- Pylint boobank-accounts. Xavier G 7 years ago
- Pylint boobank-history. Xavier G 7 years ago
- Pylint boobank-graphite. Xavier G 7 years ago
- Refactor get_accounts() and get_history() into load_json(). Xavier G 7 years ago
- Refactor existing code by adding the boobank_utils.py module. Xavier G 7 years ago
- Add proper command-line argument parsing. Xavier G 7 years ago
- boobank-history: add a "count" command-line argument. Xavier G 7 years ago
- boobank-history: move the "data cached on" label into the table. Xavier G 7 years ago
- README: add information about the current utilities. Xavier G 7 years ago
- Add boobank-history. Xavier G 7 years ago
- boobank-cacher now handles several commands. Xavier G 7 years ago
- Add basic README file. Xavier G 7 years ago
- boobank-accounts now handle several input files. Xavier G 7 years ago
- boobank-graphite: add support for IPv6. Xavier G 7 years ago
- boobank-accounts: defaults to the cache file instead of stdin. Xavier G 7 years ago
- Add boobank-graphite. Xavier G 7 years ago
- Add a timestamp to cached data. Xavier G 7 years ago
- Add boobank-accounts. Xavier G 7 years ago
- Add boobank-cacher. Xavier G 7 years ago
- Initial commit. Xavier G 7 years ago