LedgerLoom: accounting concepts for the modern software mind.
Project description
LedgerLoom
LedgerLoom teaches accounting using modern developer mental models: event logs, database views, invariants, and reproducible pipelines.
It is both:
- a textbook-style set of chapters on Read the Docs, and
- a tiny, MIT-licensed Python library + CLI for generating and validating accounting-shaped artifacts.
Badges
- Docs: https://ledgerloom.readthedocs.io/en/latest/
- PyPI: https://pypi.org/project/ledgerloom/
- GitHub: https://github.com/pystatsv1/ledgerloom
Why LedgerLoom exists
Many people learn accounting as rules + vocabulary.
LedgerLoom teaches accounting as systems engineering:
- a ledger is a database view of an event log
- double-entry is a consistency invariant
- a trial balance is an automated check
- financial statements are deterministic outputs from well-defined transformations
Core idea:
Don’t just calculate results — engineer them.
The mental model mapping
| Accounting concept | Developer mental model |
|---|---|
| Journal entries | Append-only event log (immutable facts) |
| General ledger | Derived view / projection over events |
| Double-entry | Invariant: debits == credits (by entry) |
| Trial balance | Automated check over account totals |
| Close process | Period-end transformation + roll-forward |
| Audit trail | Reproducibility + provenance + diffs |
| Reconciliation | Control loop: expected vs observed |
Install
pip install ledgerloom
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
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 ledgerloom-0.1.1.tar.gz.
File metadata
- Download URL: ledgerloom-0.1.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db6978d72dbfab00698a027bfcb71615739d6cfde162f190ae22dd5642e32fac
|
|
| MD5 |
6a41cf05114cc80afc4678c44e6ff5df
|
|
| BLAKE2b-256 |
0939c660aa7a3407943667c9e26ff2aaae6f11ef6a65ab9a5041a90a658a4822
|
Provenance
The following attestation bundles were made for ledgerloom-0.1.1.tar.gz:
Publisher:
pypi-publish.yml on pystatsv1/ledgerloom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ledgerloom-0.1.1.tar.gz -
Subject digest:
db6978d72dbfab00698a027bfcb71615739d6cfde162f190ae22dd5642e32fac - Sigstore transparency entry: 788920665
- Sigstore integration time:
-
Permalink:
pystatsv1/ledgerloom@8df9debfc5bc200b1f78a057486c8ba6901a97c2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/pystatsv1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8df9debfc5bc200b1f78a057486c8ba6901a97c2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ledgerloom-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ledgerloom-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 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 |
40180cad9a65ae89369b1355f2c4dbfc9408a6cc5ab64f6aef6773056ee7871f
|
|
| MD5 |
46b6af934ea51fa239132037097a0071
|
|
| BLAKE2b-256 |
46a3d139af1549a9a5127e60db1ebd34646fcf112a5ad7f280bb379baa7aa744
|
Provenance
The following attestation bundles were made for ledgerloom-0.1.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on pystatsv1/ledgerloom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ledgerloom-0.1.1-py3-none-any.whl -
Subject digest:
40180cad9a65ae89369b1355f2c4dbfc9408a6cc5ab64f6aef6773056ee7871f - Sigstore transparency entry: 788920667
- Sigstore integration time:
-
Permalink:
pystatsv1/ledgerloom@8df9debfc5bc200b1f78a057486c8ba6901a97c2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/pystatsv1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8df9debfc5bc200b1f78a057486c8ba6901a97c2 -
Trigger Event:
push
-
Statement type: