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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e20b4dae15eaf5c44f191848da180694e490dad83c4e13e30f6b308c16a522
|
|
| MD5 |
c413c85ecdbea410cb3f7e332f01f4cf
|
|
| BLAKE2b-256 |
37823703108dd0b1a4c3c7e6156485f370c1b93459854c29c48a6eed246a76bc
|
Provenance
The following attestation bundles were made for fengkx_beancount_plugins-0.1.0.tar.gz:
Publisher:
publish.yml on fengkx/beancount-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fengkx_beancount_plugins-0.1.0.tar.gz -
Subject digest:
26e20b4dae15eaf5c44f191848da180694e490dad83c4e13e30f6b308c16a522 - Sigstore transparency entry: 992361247
- Sigstore integration time:
-
Permalink:
fengkx/beancount-plugins@5c8a3c029b4bc0c23017a574e5bdd3c5bf9f744e -
Branch / Tag:
refs/heads/master - Owner: https://github.com/fengkx
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5c8a3c029b4bc0c23017a574e5bdd3c5bf9f744e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fengkx_beancount_plugins-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fengkx_beancount_plugins-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a4f6c56a35032313b1c274a6d7c56b782f44e9767e5c136207ea5455276325
|
|
| MD5 |
6fe0807ef601b47bfffd2b2d8eaaddf7
|
|
| BLAKE2b-256 |
1b4096fa712271ccd25b932bf2d4783c8b9f83f55e8bdcf9dcb0d98986af2582
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fengkx_beancount_plugins-0.1.0-py3-none-any.whl -
Subject digest:
f0a4f6c56a35032313b1c274a6d7c56b782f44e9767e5c136207ea5455276325 - Sigstore transparency entry: 992361303
- Sigstore integration time:
-
Permalink:
fengkx/beancount-plugins@5c8a3c029b4bc0c23017a574e5bdd3c5bf9f744e -
Branch / Tag:
refs/heads/master - Owner: https://github.com/fengkx
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5c8a3c029b4bc0c23017a574e5bdd3c5bf9f744e -
Trigger Event:
workflow_dispatch
-
Statement type: