Repository navigation
vgi-treasury 0.1.0
Python VGI worker for public US Treasury Fiscal Data.
- Nine functions for dataset/field discovery, generic records, debt, operating cash, deposits/withdrawals, debt transactions, monthly statements and interest rates.
- Exact decimal currency, source units, original records and native reporting fields.
- Validated page counts, stable page sizes, explicit caps, filtering and visible failures for incomplete results.
- Public upstream access and separately authenticated HTTP worker deployment.
Validation: 97 pytest tests; Ruff, strict mypy, pydoclint and 100/100 strict VGI metadata lint; Haybarn stdio/launch/HTTP; 18 stock-DuckDB and 20 authenticated HTTP checks. All nine live checks passed. Wheel/source installs repeat contracts outside the checkout. MTS API amounts remain in original currency units; no inferred conversion to website display units is applied.
Release CI gates the signed wheel and source archive. The wheel has a provenance attestation. README.md and VERIFICATION.md document tested SQL, operational settings and limitations.