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, 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.0.tar.gz (2.6 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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fengkx_beancount_plugins-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 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.0.tar.gz
Algorithm Hash digest
SHA256 26e20b4dae15eaf5c44f191848da180694e490dad83c4e13e30f6b308c16a522
MD5 c413c85ecdbea410cb3f7e332f01f4cf
BLAKE2b-256 37823703108dd0b1a4c3c7e6156485f370c1b93459854c29c48a6eed246a76bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fengkx_beancount_plugins-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fengkx_beancount_plugins-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0a4f6c56a35032313b1c274a6d7c56b782f44e9767e5c136207ea5455276325
MD5 6fe0807ef601b47bfffd2b2d8eaaddf7
BLAKE2b-256 1b4096fa712271ccd25b932bf2d4783c8b9f83f55e8bdcf9dcb0d98986af2582

See more details on using hashes here.

Provenance

The following attestation bundles were made for fengkx_beancount_plugins-0.1.0-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