Example
from datetime import date
from alubia.data import Amount, Assets, Expenses
USD = Amount.for_commodity("USD")
CHECKING = Assets.Checking
GROCERIES = Expenses.Groceries
transaction = GROCERIES.transact(
CHECKING.posting(amount=USD("-50")),
date=date(2024, 1, 1),
payee="Grocery Store",
)
# Serialize the transaction to beancount format
print(tx.explicit().serialize())
Outputs:
2024-01-01 * "Grocery Store"
Expenses:Groceries 50.00 USD
Assets:Checking -50.00 USD
Release files for alubia 2026.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alubia-2026.7.1.tar.gz | 27.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alubia-2026.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.4 kB
Release files / alubia-2026.7.1.tar.gz
| Download URL | alubia-2026.7.1.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72927fbb4e937db86e22732bacec5bede86b99c4b261ad6e681317ba4617c385
|
|
BLAKE2b-256 checksum How to use checksums |
e131a59fe5ceaf7bd553bd7c11acc0af8d531fde602b315f5dde0194e835cfc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.
Transparency logRelease files / alubia-2026.7.1-py3-none-any.whl
| Download URL | alubia-2026.7.1-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fa300a46622c4e1736076c3b3e3da417fe89a42123537e820920f2804e0b25a
|
|
BLAKE2b-256 checksum How to use checksums |
725476895f84d6331a51550f841ae4541b84435881b8309019e77aea399bd264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.
Transparency log