Beancount Plugin Utils
A collection of utils for writing beancount plugins:
BeancountError& utils - throw anywhereRuntimeErrorand have nice error output instead of crashing beancount.marked- introduce an abstraction ofmarkto liberate user to use any of: tag, tx meta, posting meta.metaset- abstraction overmetadict to have multiple values for the same key.merge_postings- merge postings with equal account names.parse_config_string- parse config string.
Also see test framework and feel free to copy it.
Note: NOT READY FOR PUBLIC YET, STILL MIGRATING MY OWN PLUGINS. ANYTHING CAN CHANGE WITHOUT NOTICE.
Install
- Add
beancount_plugin_utilsto your plugin'srequirements.txtfile orpyproject.tomlfile. - Reinstall your dependencies.
Tests
If the examples above do not suffice your needs, check out the tests. They consist of human-readable examples for more specific cases.
Development
Please see Makefile and inline comments.
Feel free to PR your utils to add them to this repro.
Metadata
Release files for beancount-plugin-utils 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beancount_plugin_utils-0.0.4.tar.gz | 10.3 kB | Without provenance | Details for beancount_plugin_utils-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beancount_plugin_utils-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for beancount_plugin_utils-0.0.4-py3-none-any.whl |
Total release size: 35.4 kB
Release files / beancount_plugin_utils-0.0.4.tar.gz
| Download URL | beancount_plugin_utils-0.0.4.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9d781defdf3ccf4245dbf2168438fe0a9e4b0a6b1d38499f9804b6a0a5a778a
|
|
BLAKE2b-256 checksum How to use checksums |
ab5370b3ddb03709c5b29ddf17156dbb0a4417f630b07a18c14fda8f7e44a5a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
|
Release files / beancount_plugin_utils-0.0.4-py3-none-any.whl
| Download URL | beancount_plugin_utils-0.0.4-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d87963ad75dff5137cc8baf0eddb86f23bb6dfb5fe347a41bc42ac739713991d
|
|
BLAKE2b-256 checksum How to use checksums |
9b671d4d3bb5be036c265f613af728116a1d32ad7489ac2fcbd6a00f4371b153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
|
Security for beancount-plugin-utils 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.