Skip to main content

Flashlight

Flashlight — the signal in the noise

CI PyPI 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.2

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.2
File Size Uploaded Provenance Actions
getflashlight-0.2.2.tar.gz 1.4 MB With provenance Details for getflashlight-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 2.0 MB

Release files / getflashlight-0.2.2.tar.gz

Download URL getflashlight-0.2.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
2056906dc0cd771212c9c64e511dfc2796081b0a5f228eb6971c72a7f1a393c2
BLAKE2b-256 checksum
How to use checksums
b5a9f8866a3031ab70d648dc084ca0743750d9a67772872295767728ff6fdeb7
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.2-py3-none-any.whl

Download URL getflashlight-0.2.2-py3-none-any.whl
Size 594.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3af0200f52df448263ac14534d5ef735dc6d07c07be42aad1a32a548a5d679d6
BLAKE2b-256 checksum
How to use checksums
283fb55a00e77f07f6a8e9150f9d8b630a5d25db9798cba675713426d78d48af
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.2

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.2.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