Rough guide to using my ruleswrapper.py
class to hard-code certain rules in beancount-import.
See the example config - add the ruleswrapper
as the data source, and specify the module to be wrapped as wrapped_module
.
Any configuration parameters meant for the wrapped module should be added to the config passed to ruleswrapper
.
Code may not compile exactly as-is - roughly edited to remove sensitive data.
TODO:
- split rules into standalone file, so
ruleswrapper.py
can be shared more easily