Skip to main content

Payee verification plugin for Beancount

Project description

beancount payeeverif

beancount_payeeverif is the "payee verification" plugin for beancount, fulfilling the following functions:

  1. Every transaction has a non-NULL payee field:

    ; this will throw an error
    2020-06-01  *   ""   "fix faucet leak"
      Expenses:General
      Assets:Bank -150 bean
    
    ; this will pass validation
    2020-06-02  *   "plumber"   "fix faucet leak"
      Expenses:General
      Assets:Bank -150 bean
    
  2. TODO: coming soon Transactions touching certain accounts must match an allowed_payees regex.

installation

pip install beancount_payeeverif

usage

In your toplevel .beancount file, include:

plugin  "beancount_payeeverif"

See the .beancount files in test for examples.

developing

Install package and dev requirements locally:

python3 -m pip install -e .[dev]

Run tests:

python3 -m pytest

Build both binary and source distributions locally:

python3 setup.py bdist_wheel sdist

See sanitize.sh for maintainer's personal tooling.

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_payeeverif-1.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

beancount_payeeverif-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file beancount_payeeverif-1.0.1.tar.gz.

File metadata

  • Download URL: beancount_payeeverif-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for beancount_payeeverif-1.0.1.tar.gz
Algorithm Hash digest
SHA256 12eff1f3c2e1ad94ed6bcd5c3103bccf432ff84bbdaacc44f4418aa464ee51d0
MD5 e6feab3cbfaad23cf28a9a21e6bc5175
BLAKE2b-256 d0cf67a7224adee740b7dea8853b326636073aa80451ce374e4b38e859ab6379

See more details on using hashes here.

File details

Details for the file beancount_payeeverif-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: beancount_payeeverif-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for beancount_payeeverif-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 468423441484839105d5e7445bb391c30d1f7b51c9d224908d47668136849cfb
MD5 0a5a6264711f907a4c2663007266c8a3
BLAKE2b-256 31a2e9cc7fd80a032dcac6033c3ba0cf86219435b19e576919c43f53574f3504

See more details on using hashes here.

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