I really like the zerosum solution that Redstreet created for handling transfers and also how this can help with automation and it solves other issues. This solves the exact issue I was starting to face as I was getting setup. I'm trying to get the plugins to work but I'm getting an error message (perhaps it's something really simple ).
(base) MacBook-Air:beandata jonathan$ pip show beancount-reds-plugins
Name: beancount-reds-plugins
Version: 0.1.0
Summary: A collection of plugins for Beancount
Home-page:
https://github.com/redstreet/beancount_reds_pluginsAuthor: Red Street
License: GPL-3.0
Location: /Users/jonathan/opt/miniconda3/lib/python3.8/site-packages
Requires: beancount
Required-by:
2) when I try the sample file I get an error. Is there something I need to do elsewhere to get this to work? I thought I can use the existing bean-check code and just run it on the sample file.
(2b) (base) MacBook-Air:beandata jonathan$ bean-check --version
Beancount 2.3.4 (git:5adf7b9a; 2021-03-20)
bean-check /Users/jonathan/opt/miniconda3/lib/python3.8/site-packages/beancount_reds_plugins/zerosum/zs_test.beancount
<load>:0: Error importing "plugins.beancount_plugins_redstreet.zerosum.zerosum": Traceback (most recent call last):
File "/Users/jonathan/opt/miniconda3/lib/python3.8/site-packages/beancount/loader.py", line 573, in run_transformations
module = importlib.import_module(plugin_name)
File "/Users/jonathan/opt/miniconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'plugins'