A plugin adds costflow syntax supports for beancount_bot
Project description
beancount_bot_costflow
beancount_bot 的 Costflow 语法插件
使用
使用本插件之前,需要保证安装 Node.js(Node 版本需 >= 14) 并且安装路径位于 PATH 中。
- 安装:
pip install beancount_bot_costflow
- 在 beancount_bot 配置文件的
transaction.message_dispatcher
增加如下配置:
transaction:
# ...
message_dispatcher:
# ...
# 必须添加在最后一个位置
- class: 'beancount_bot_costflow.CostflowDispatcher'
args:
costflow_config: 'costflow.json'
注意,你仍需要自行配置一份 costflow.json
作为 Costflow 语法的配置。参阅:
- Costflow 文档:https://www.costflow.io/docs/syntax/
- Costflow Playground:https://playground.costflow.io
Note
Costflow 部分(costflow-parser.js
)源码位于:kaaass/costflow-parser-simple-wrapper
与本仓库同采用 GPLv3 协议。
Credit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for beancount_bot_costflow-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf51635c6841c724adae24d4e075b60891ae2b50eac396784e35a091fca697a |
|
MD5 | 627b7069abf6ebcc04d734ee91c2c367 |
|
BLAKE2b-256 | 692129cfedd2210aaffcd6310a7afdc46c52f86f90fd913ba028b2a20c704177 |
Close
Hashes for beancount_bot_costflow-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b317bfe08511864befbbf0fc679c7b4eb1e2a9dc6a754442e673c2574a71aa58 |
|
MD5 | 10593ecdff2d46f12ea8e8e1bfc3ad4b |
|
BLAKE2b-256 | 86f9e6cbd4b7a4f1328874d18f2716ad091e973162f60f38c8198c595fe332ec |