Skip to main content Switch to mobile version attestory 0.3.1 Local version control, deterministic math auditing, and semantic diffs for AI-generated spreadsheets and reports.
pip install attestory==0.3.1 Copy PIP instructions
Make sure your numbers are Attestoried. Local version control, deterministic formula auditing, and semantic diffs for AI-generated Excel (.xlsx), PowerPoint (.pptx), HTML dashboards, and CSV source data.
AI workspaces like Claude Cowork and ChatGPT make editing spreadsheets effortless—but they also silently overwrite dynamic formulas (=SUM(...)) with hardcoded numbers, introduce #REF! errors, and create Forecast_v7_FINAL.xlsx chaos across email and Slack.
Attestory creates a lightweight, local-first .attestory/ audit folder right alongside your spreadsheets:
Zero Cloud Uploads Required: Structural snapshots are stored locally as Zstandard-compressed Apache Parquet files inside .attestory/.
Deterministic Math & Hardcode Audits: Uses openpyxl and DuckDB SQL diffs to catch silent formula-to-hardcode overwrites and Excel formula errors in milliseconds.
PowerPoint Semantic Diffs: Extracts slide text, native table cells, and embedded chart values into Zstandard-compressed Parquet snapshots, with DuckDB-powered comparisons between versions.
Dashboard & Data Lineage: Audits HTML dashboard KPIs, table cells, and external telemetry references; fingerprints CSV row counts, schemas, null counts, and numeric summaries.
Persistent Assertions & Receipts: Configure formula and numeric guardrails in .attestory/rules.yaml, then generate self-contained HTML audit receipts.
Native AI Continuity: Drop skills/claude-cowork/SKILL.md into your workspace so Claude Cowork reads saved rules before editing and self-corrects formula mistakes before presenting results.
See the sample HTML receipt in your browser.
# Run the interactive demo immediately (zero setup required) uvx attestory demo # Or install globally with uv / pip uv tool install attestory # Or: pip install attestory # 1. Initialize .attestory/ in your working folder attestory init # 2. Audit and snapshot your workbook attestory commit Q4_Forecast.xlsx -m "Initial baseline" # 3. After editing in Excel, Claude Cowork, or ChatGPT, commit again to catch silent regressions attestory commit Q4_Forecast.xlsx -m "Updated November actuals" # 4. Inspect cell-level formula & value diffs attestory diff Q4_Forecast.xlsx # Snapshot and compare a presentation the same way attestory commit Board_Deck.pptx -m "Initial board deck" attestory commit Board_Deck.pptx -m "Updated ARR chart" attestory diff Board_Deck.pptx # Create a standalone report in .attestory/reports/ attestory report Board_Deck.pptx # Snapshot and compare source data or an HTML dashboard attestory commit actuals.csv -m "Approved actuals" attestory commit executive_dashboard.html -m "Dashboard baseline" attestory diff actuals.csv # See the latest health of all tracked files attestory status # Automatically snapshot supported files when they are saved (Ctrl+C to stop) attestory watch Use attestory watch --recursive to include subdirectories, or tune its save debounce with attestory watch --debounce 1.0.
Rules and cross-file checks
Edit .attestory/rules.yaml to add deterministic assertions. Excel formula and numeric rules are evaluated whenever the workbook is committed. Cross-file checks run when either configured file is committed and compare the latest snapshots available for both files:
must_be_formula: - Revenue!B4 assertions: - location: Revenue!B4 min_value: 100000 description: Total ARR floor - location: Revenue!B5 max_value: 250000 description: Keep the forecast within approved bounds cross_file_checks: - pptx_file: Board_Deck.pptx xlsx_file: Q4_Forecast.xlsx slide_num: 2 element_type: chart label: ARR location: Revenue!B4 tolerance: 0.01 description: Slide 2 ARR chart must match the forecast Numeric assertions support min_value, max_value, and equals. Cross-file checks can compare any supported snapshots: Excel cells, PowerPoint slide metrics, HTML KPIs, or CSV summary statistics. Existing pptx_file / xlsx_file rules remain supported; generic rules use file_a and file_b with selectors such as metric_a: {column_name: Revenue, label: SUM} and metric_b: {location: Revenue!B4}. Rule violations appear in the terminal receipt, commit history, and changelog.
HTML snapshots parse KPI/metric elements and table cells and flag externally hosted scripts or tracking images for review. CSV snapshots track dataset row counts, column types, null counts, and numeric SUM, AVG, MIN, and MAX values, making source-data drift visible alongside workbook and presentation changes.
Install and start the local FastAPI bridge with:
pip install "attestory[server]" attestory serve --host 127.0.0.1 --port 8765 The bridge provides /health, /v1/context, /v1/commit, /v1/diff/{filename}, and /v1/report/{filename} as described in skills/chatgpt-action/openapi.yaml. It is scoped to the current workspace and binds to localhost by default. Do not expose it directly to an untrusted network; ChatGPT Actions need a separately secured HTTPS adapter or tunnel.
Released: Nov 27, 2026
Both files in this release have provenance metadata.
View provenance details
ai analytics audit claude diff duckdb excel parquet
Release files for attestory 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 68.8 kB
Release files / attestory-0.3.1.tar.gz
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 Nov 27, 2026.
Release files / attestory-0.3.1-py3-none-any.whl
Security for attestory 0.3.1
Both files in this release have been uploaded with provenance metadata.
With provenance attestory-0.3.1.tar.gz Nov 27, 2026
With provenance attestory-0.3.1-py3-none-any.whl Nov 27, 2026
Attestation for attestory-0.3.1.tar.gz
Attestation for attestory-0.3.1-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 27, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











