Skip to main content

Flashlight

Flashlight — the signal in the noise

CI PyPI 0.2.0 Python 3.12 or later Apache-2.0 license

Flashlight is a local cloud-cost explorer. It normalizes cloud billing into a FinOps FOCUS lake, then serves the same published metrics to a dashboard and MCP-compatible agents. Use it to inspect spend, allocation context, and evidence-backed recoverable-spend candidates—never to make cloud changes automatically.

It runs locally: no hosted control plane, database server, or Docker is required. Data is stored as Parquet under FLASHLIGHT_HOME and queried with in-memory DuckDB.

Install and try the sample

pip install getflashlight
flashlight sample
flashlight dashboard serve

Open http://127.0.0.1:8501 to explore deterministic sample billing and telemetry. The sample is the fastest way to confirm the installation without cloud credentials.

Connect a real source

Use the dashboard's Connections page to add AWS, Databricks, Amazon Redshift, or Snowflake. The dashboard stores credentials in the operating system's credential store; it writes only non-secret connection references to configuration files.

For a real source, select a continuous sync range of at least six months. That provides the history needed for trends, month-over-month comparisons, and savings analysis.

Read the connection walkthrough before syncing. It explains each field, the required permissions, and the queries each connector performs.

Source Primary use Setup and permissions
AWS FOCUS Data Export Canonical AWS cost data AWS connector
Databricks FOCUS cost mapping and operational telemetry Databricks connector
Amazon Redshift Efficiency and workload telemetry; AWS supplies its cost Redshift connector
Snowflake Organization cost and driver-health telemetry Snowflake connector

For a CLI, scheduler, or headless deployment, provide the named credential environment variables through the process environment or your secret manager. A local .env is a development convenience and must never be committed.

Use Flashlight with an agent

The dashboard can start a local, read-only MCP server and provides the client configuration. For a long-running service, start it directly:

flashlight mcp serve

The default endpoint is http://127.0.0.1:8002/mcp. It has no built-in authentication, so keep it on localhost or behind your own authenticated private network boundary.

How the data stays trustworthy

flashlight ingest is the sole writer. It publishes complete GOLD Parquet metric views; the dashboard and MCP server are read-only consumers of those views. Every cost view uses EffectiveCost at charge-period grain, preserving credits and refunds while avoiding partial published results.

Read Data architecture and FOCUS and cost integrity for the data contract and reconciliation rules.

Documentation and support

Metadata

Release files for getflashlight 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getflashlight 0.2.1
File Size Uploaded Provenance Actions
getflashlight-0.2.1.tar.gz 1.3 MB With provenance Details for getflashlight-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for getflashlight 0.2.1
File Interpreter ABI Platform Actions
getflashlight-0.2.1-py3-none-any.whl Python 3 none any Details for getflashlight-0.2.1-py3-none-any.whl

Total release size: 1.9 MB

Release files / getflashlight-0.2.1.tar.gz

Download URL getflashlight-0.2.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
fa963cccf76ef51c3081a5213fb0676a7a3a8b21f424e0da18901bfe6a641952
BLAKE2b-256 checksum
How to use checksums
672f32a8f0f00ea9b657b014db72a4c06a1a2163b69eb8609e4b996889f58c43
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 Aug 11, 2026.

Transparency log

Release files / getflashlight-0.2.1-py3-none-any.whl

Download URL getflashlight-0.2.1-py3-none-any.whl
Size 549.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e282ccf70071b4021d0e1aa79f78389d143fc79cd679e808f2182cba6135e9f2
BLAKE2b-256 checksum
How to use checksums
122390b3bfdf3b5b203672c7a772b3d3d660b7aa4f95efa020821b8e5bc53155
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 Aug 11, 2026.

Transparency log

Security for getflashlight 0.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for getflashlight-0.2.1.tar.gz

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 Aug 11, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page