balanceproof
Python client for BalanceProof: US public-company fundamentals from SEC EDGAR, where every balance sheet, income statement and cash flow is checked against its own totals, and a filing that does not add up is flagged with the reason instead of passed through.
pip install "balanceproof[pandas]"
import balanceproof as bp
client = bp.Client("YOUR_KEY") # free key: https://balanceproof.dev/dashboard
# or set BALANCEPROOF_API_KEY
client.balance_sheet("AAPL")
client.statements("AAPL", period="quarterly")
# Point-in-time (Pro and above): only what had been filed by that date,
# so a backtest never sees a figure before it was public.
client.balance_sheet("AAPL", as_of="2025-03-01")
# A pandas panel, one row per company and period.
df = client.panel(["AAPL", "MSFT", "KO"], ["revenue", "net_income", "operating_cash_flow"],
period="quarterly")
clean = df[df.checks_failed.str.len() == 0] # drop periods that failed a check
# Failed checks and restatements across every company (Pro: 90 days, Business: all).
feed = client.exceptions(type="restatement")
client.to_frame(feed)
Derived figures (Q4 as the year minus nine months, Q2/Q3 cash flow from
year-to-date filings) are listed in each period's derived.
A call that needs a higher plan raises balanceproof.PlanRequired, whose
required_plan names it.
Release files for balanceproof 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| balanceproof-0.1.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| balanceproof-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / balanceproof-0.1.0.tar.gz
| Download URL | balanceproof-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c89eb6e799755c67a7c46e6a52caf2e8be5a0e148e574b30a0fd0169ae68e31
|
|
BLAKE2b-256 checksum How to use checksums |
54b21d3966b17e0a62c981845481a7dee11428bb494bf326be1c68fce0d7b8f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / balanceproof-0.1.0-py3-none-any.whl
| Download URL | balanceproof-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76fd78f002b06d5375aea6b3cdaa34dd1743c78e206042c36373bd338d93792e
|
|
BLAKE2b-256 checksum How to use checksums |
bda083cb3cf6182158cb61d03d27337cc1629a53c183e3bbd7a3be59e7c25228
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log