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.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: beancount_payeeverif-1.0.2.tar.gz
  • Upload date:
  • Size: 5.4 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.2.tar.gz
Algorithm Hash digest
SHA256 93d762d4521e8bc6e2fcb95eb071d470bd1abe9cf52a388d237dd993ce01ee0d
MD5 05edd29c65fdf73bee4abd2ef3b8b86a
BLAKE2b-256 e0b1049534957f9e024a10511693e832fdaead97bea02a68191da24b97f5f1c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beancount_payeeverif-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5cb6c8972d3302c1ce8ed8e0b6a7da928e591ac9ca9f294f4d8588bfd499a93d
MD5 95544c237425f49fe69f7c4d670055a1
BLAKE2b-256 1a9b122f88cb3483e2d03755a9281a3fd3ecd28241cfc8a97dad0bfea0655f43

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