- Parse Carta XLSX natively (openpyxl) instead of CSV-only - Column map confirmed against Fund I export: Investment/Asset/ Investment date/Shares/Cost/Value/Last Valuation date - Handle grouped layout: company subtotal rows + indented position rows - SAFEs: shares=0 in source → null in DB (not additive) - Money already in dollars in XLSX cells, convert to cents directly - Dates parsed from Excel datetime objects - CSV fallback preserved for other formats - Re-import guard catches both seed and non-seed existing rounds - Tested: 14 holdings, 17 positions, total value $8,527,204.58 matches
26 lines
626 B
TOML
26 lines
626 B
TOML
[project]
|
|
name = "ten31portal"
|
|
version = "0.1.0"
|
|
description = "Internal system of record for Ten31 entities, holdings, and valuations."
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi==0.115.12",
|
|
"uvicorn[standard]==0.34.3",
|
|
"sqlmodel==0.0.24",
|
|
"alembic==1.15.2",
|
|
"argon2-cffi==23.1.0",
|
|
"python-multipart==0.0.20",
|
|
"itsdangerous==2.2.0",
|
|
"aiosqlite==0.21.0",
|
|
"starlette-session==0.4.3",
|
|
"openpyxl==3.1.5",
|
|
]
|
|
|
|
[project.scripts]
|
|
ten31portal = "ten31portal.main:cli"
|
|
ten31portal-cli = "ten31portal.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|