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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file beancount_bot_costflow-1.1.0.tar.gz.

File metadata

  • Download URL: beancount_bot_costflow-1.1.0.tar.gz
  • Upload date:
  • Size: 74.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for beancount_bot_costflow-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3cf51635c6841c724adae24d4e075b60891ae2b50eac396784e35a091fca697a
MD5 627b7069abf6ebcc04d734ee91c2c367
BLAKE2b-256 692129cfedd2210aaffcd6310a7afdc46c52f86f90fd913ba028b2a20c704177

See more details on using hashes here.

File details

Details for the file beancount_bot_costflow-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: beancount_bot_costflow-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 73.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for beancount_bot_costflow-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b317bfe08511864befbbf0fc679c7b4eb1e2a9dc6a754442e673c2574a71aa58
MD5 10593ecdff2d46f12ea8e8e1bfc3ad4b
BLAKE2b-256 86f9e6cbd4b7a4f1328874d18f2716ad091e973162f60f38c8198c595fe332ec

See more details on using hashes here.

Supported by

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