unitbook 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- unitbook/__init__.py +3 -0
- unitbook/__main__.py +10 -0
- unitbook/cli.py +20 -0
- unitbook-0.0.1.dist-info/METADATA +39 -0
- unitbook-0.0.1.dist-info/RECORD +7 -0
- unitbook-0.0.1.dist-info/WHEEL +4 -0
- unitbook-0.0.1.dist-info/entry_points.txt +3 -0
unitbook/__init__.py
ADDED
unitbook/__main__.py
ADDED
unitbook/cli.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Unitbook command-line entry point.
|
|
2
|
+
|
|
3
|
+
The engine (events, fold, lots, fees, proof, render) is not built yet.
|
|
4
|
+
This is a stub so the package installs and runs end to end.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
from unitbook import __version__
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def main() -> int:
|
|
15
|
+
print(f"unitbook {__version__}")
|
|
16
|
+
return 0
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
if __name__ == "__main__":
|
|
20
|
+
sys.exit(main())
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: unitbook
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Unitized fund ledger for a pooled trading account: signed append-only log, units per investor, NAV per unit, fee by unit burn.
|
|
5
|
+
Author: confirmxxx
|
|
6
|
+
Author-email: confirmxxx <235901389+confirmxxx@users.noreply.github.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Requires-Dist: pynacl
|
|
9
|
+
Requires-Dist: openpyxl
|
|
10
|
+
Requires-Dist: mcp
|
|
11
|
+
Requires-Dist: opentimestamps-client ; extra == 'ots'
|
|
12
|
+
Requires-Python: >=3.12
|
|
13
|
+
Provides-Extra: ots
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# unitbook
|
|
17
|
+
|
|
18
|
+
status: pre-alpha
|
|
19
|
+
|
|
20
|
+
A standalone, offline, harness-agnostic ledger for one pooled trading account with several
|
|
21
|
+
investors. It answers one question exactly: if this investor withdrew today, how much would
|
|
22
|
+
they receive — and can they prove it?
|
|
23
|
+
|
|
24
|
+
- Pure Python package. No server, no database, no bot, no TUI, no vendor SDK, no network
|
|
25
|
+
call in the core.
|
|
26
|
+
- Append-only, hash-chained, signed event log → per-lot units → NAV per unit → performance
|
|
27
|
+
fee by unit burn → per-investor statements in the trader's own spreadsheet layout.
|
|
28
|
+
- Every number is reproducible from the log with no model in the loop. Agents drive it;
|
|
29
|
+
they never compute it.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
Distribution channel is not finalized yet — see `docs/gitops/RELEASING.md`. For
|
|
34
|
+
now, run from source:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
uv sync
|
|
38
|
+
uv run unitbook
|
|
39
|
+
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
unitbook/__init__.py,sha256=9sgr85ICsBFUXeypL5gRw6wXgm5oc4E_sBvJtnIwoH0,90
|
|
2
|
+
unitbook/__main__.py,sha256=kzwerhufLSkLAhFoJf4PrAtZCKk-d6DS_9rQlbN6j_g,203
|
|
3
|
+
unitbook/cli.py,sha256=JImpy1I9a9QbAPB0YFMfQiMvkCb0Jk7XZbjGNpSJL1I,377
|
|
4
|
+
unitbook-0.0.1.dist-info/WHEEL,sha256=y6e-a5KI2W-qDAJKfh9Xr81bin8NgUdfWgz3VSXXpe4,80
|
|
5
|
+
unitbook-0.0.1.dist-info/entry_points.txt,sha256=o_V-05w9Dfnk5dLUOsN1cdNlP0rhtPWzA9zZFcBsPKI,48
|
|
6
|
+
unitbook-0.0.1.dist-info/METADATA,sha256=RbpiNhiSTmPv9wB6pGh9voQuB8Hklyl52T_UbnzyG3U,1321
|
|
7
|
+
unitbook-0.0.1.dist-info/RECORD,,
|