Double book-keeping transaction framework
Project description
little-bank
Little Bank is a framework for analyzing financial transactions.
Design goals
- All analysis should be a matter of summarizing credit, debit or balance of an account in a system. The intention is to reduce bugs by making all analysis use the same numerical implementation.
- This means that we're of the opinion that implementing filters and doing arithmetic on transactions outside of little-bank code is wrong. If we find ourselves grasping to do this, what we should instead do is introduce new accounts our possibly restructure the flow between the existing ones.
- Allow defining rules for a system in a declarative way.
- Disallow mutation. The design encourages immutable, append-only transactions.
- All operations that update the system are very similar: appending transactions which automatically verifies all defined rules, and persisting the new transactions. This allows centralizing code that saves transactions to a single place.
Non-goals
- Performance. This library is intended to be used to analyze systems of a small number of transactions. Therefor exposing APIs that are easy to reason about is a much higher priority than performance.
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 little_bank-0.1.0.tar.gz.
File metadata
- Download URL: little_bank-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb76ddb7a69c840622ea1376b13f5c0b32d3cbd4ede815a9ced10dad974c267
|
|
| MD5 |
ab0ebb6a33e1d6bea2feb7a25f494f38
|
|
| BLAKE2b-256 |
3bae6e3bd47bf8b7aa5505b5af348d0cb7cf1615435b5df60852ded9745d5f37
|
Provenance
The following attestation bundles were made for little_bank-0.1.0.tar.gz:
Publisher:
release.yaml on antonagestam/little-bank
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
little_bank-0.1.0.tar.gz -
Subject digest:
4eb76ddb7a69c840622ea1376b13f5c0b32d3cbd4ede815a9ced10dad974c267 - Sigstore transparency entry: 216613472
- Sigstore integration time:
-
Permalink:
antonagestam/little-bank@75ae45817fca3ee2397cc7d62e97733cf56c7556 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/antonagestam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@75ae45817fca3ee2397cc7d62e97733cf56c7556 -
Trigger Event:
release
-
Statement type:
File details
Details for the file little_bank-0.1.0-py3-none-any.whl.
File metadata
- Download URL: little_bank-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f30a3c41d0a7edb270f95596b7b3b057b0a756860d17e93c3809b999b576d865
|
|
| MD5 |
01cff84943481ede0add97c3ed68ec62
|
|
| BLAKE2b-256 |
b22909ed56521934d86a0b7952b9ab83c3c46834c4e62f019f2c4eb9257bbbac
|
Provenance
The following attestation bundles were made for little_bank-0.1.0-py3-none-any.whl:
Publisher:
release.yaml on antonagestam/little-bank
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
little_bank-0.1.0-py3-none-any.whl -
Subject digest:
f30a3c41d0a7edb270f95596b7b3b057b0a756860d17e93c3809b999b576d865 - Sigstore transparency entry: 216613476
- Sigstore integration time:
-
Permalink:
antonagestam/little-bank@75ae45817fca3ee2397cc7d62e97733cf56c7556 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/antonagestam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@75ae45817fca3ee2397cc7d62e97733cf56c7556 -
Trigger Event:
release
-
Statement type: