Skip to main content

A plugin adds costflow syntax supports for beancount_bot

Project description

beancount_bot_costflow

beancount_bot 的 Costflow 语法插件

GitHub GitHub tag (latest by date) PyPI

使用

使用本插件之前,需要保证安装 Node.js(Node 版本需 >= 14) 并且安装路径位于 PATH 中。

  1. 安装:pip install beancount_bot_costflow
  2. 在 beancount_bot 配置文件的 transaction.message_dispatcher 增加如下配置:
transaction:
  # ...
  message_dispatcher:
    # ...
    # 必须添加在最后一个位置
    - class: 'beancount_bot_costflow.CostflowDispatcher'
      args:
        costflow_config: 'costflow.json'

注意,你仍需要自行配置一份 costflow.json 作为 Costflow 语法的配置。参阅:

Note

Costflow 部分(costflow-parser.js)源码位于:kaaass/costflow-parser-simple-wrapper

与本仓库同采用 GPLv3 协议。

Credit

costflow/parser

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beancount_bot_costflow-1.1.0.tar.gz (74.8 kB view hashes)

Uploaded Source

Built Distribution

beancount_bot_costflow-1.1.0-py3-none-any.whl (73.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page