Skip to main content

Beancount plugins including a non-negative balance checker

Project description

fengkx_beancount_plugins

Beancount plugins packaged for installation via PyPI-compatible tooling.

Currently included:

  • check_non_negative: enforce non-negative balances for selected accounts from a configured date.

Installation

pip install fengkx_beancount_plugins

Or with uv:

uv add fengkx_beancount_plugins

Beancount Usage

Add the plugin to your ledger:

plugin "fengkx_beancount_plugins.check_non_negative"

Configure an account with Open metadata:

2024-01-01 open Assets:Checking USD
  non_negative_from: 2024-01-01

When the running balance for that account becomes negative on or after the date (checked after each transaction, not by end-of-day aggregation), the plugin reports a loader error.

Development

uv sync --group dev
uv run ruff check .
uv run pytest
uv build
uv run twine check dist/*

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

fengkx_beancount_plugins-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

fengkx_beancount_plugins-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file fengkx_beancount_plugins-0.1.1.tar.gz.

File metadata

  • Download URL: fengkx_beancount_plugins-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fengkx_beancount_plugins-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dcfa91b4aa2aff6d167ac6385b50add88127a88e3d4b4e38c82a659bf4a3de57
MD5 606b2d37cc5cc6d75f725cf2b333af8e
BLAKE2b-256 889e574f6ff0500ee8c3129d8b894fea7bc964b6ad04814f71dc69f548ba77b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fengkx_beancount_plugins-0.1.1.tar.gz:

Publisher: publish.yml on fengkx/beancount-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fengkx_beancount_plugins-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fengkx_beancount_plugins-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ff6003c0feebb098e6981dc7dee80a844745eadd24fc97e459bab43b76826a3
MD5 a89554baab85b124bf9df8f516efc5c7
BLAKE2b-256 1d2ef8b76c941541c8327397a8dea19f460c7977e5f0a67e718201111dcbaf94

See more details on using hashes here.

Provenance

The following attestation bundles were made for fengkx_beancount_plugins-0.1.1-py3-none-any.whl:

Publisher: publish.yml on fengkx/beancount-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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