Skip to main content

prumi

The Prumi server and the prumi CLI. AI agents connect to its MCP endpoint and build dashboards on a company's official metrics; Prumi checks every page, hosts it, and lets the data team certify it.

Import name: prumi. It holds the catalog, the query engine, the BI validator and the registry, and defines the adapter protocol that source adapters implement (an adapter may also offer watched_files(), the files whose change means the source changed). An adapter's settings ([source.<name>]) may arrive as strings, because every setting can also come from a PRUMI__… variable: the adapter converts its own, and core never guesses a type. Prumi reads metrics through an adapter package; the first one is prumi-adapter-dbt.

  • Agents connect over MCP (Streamable HTTP, /mcp), find the official metrics, learn the shape of the data (never its values) and publish a dashboard: a spec plus any HTML.
  • Numbers come only from the source, computed at the grain they're shown. Validation renders each page in headless Chromium and checks that every number it shows is a value Prumi delivered.
  • Dashboards run in a sandboxed frame inside Prumi's own page, which shows the trust badge and data freshness. The data team certifies a version from the CLI; any later change makes it a draft again.

Install

With uv, Prumi and its dbt adapter:

uv tool install "prumi[dbt]"
prumi install-chromium
prumi serve --config prumi.toml

pip install "prumi[dbt]" installs the same packages. A registry kept in Postgres needs the psycopg driver: prumi[dbt] brings it, and the extra prumi[postgres] adds it on its own ([registry]). prumi.toml points at your dbt project's semantic manifest and warehouse: see Use it with your metrics and every setting.

Requirements: Python 3.12 or later, and headless Chromium, which prumi install-chromium installs with Playwright (add --with-deps on Linux if system libraries are missing); the server won't start without it.

A five-minute trial on a demo project needs no project of your own. Configuration and where data goes are in the Prumi README; the BI rules Prumi checks are in docs/bi-rules.md.

Metadata

Release files for prumi 0.3.0

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

Source distribution (sdist)

Source distribution for prumi 0.3.0
File Size Uploaded Provenance Actions
prumi-0.3.0.tar.gz 259.7 kB Without provenance Details for prumi-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 405.7 kB

Release files / prumi-0.3.0.tar.gz

Download URL prumi-0.3.0.tar.gz
Size 259.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aa63d7ef1368a27362a35fe48c18defba88fc5c7de3e11897b2195d00b2ed9de
BLAKE2b-256 checksum
How to use checksums
0cd7fd68bb6ba11d83fc51bc7d011f23811b84ed98f3953cf610beb4c8ce6bfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / prumi-0.3.0-py3-none-any.whl

Download URL prumi-0.3.0-py3-none-any.whl
Size 146.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bfaaa56fc4d46dc0dd89c7cb32940b7e26aeaf534df766328747e5802e583aa
BLAKE2b-256 checksum
How to use checksums
c7b7e52825003cf103b7a7e49ac7a1314e6d2050b5b1c2cb67847ce96b71b758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for prumi 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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