Skip to main content

cerberus-core

Shared utilities for the Cerberus monitoring ecosystem.

This package provides common sanitization logic and sensitive key definitions used by:

Installation

pip install cerberus-core

You typically don't need to install this directly — it's pulled in automatically as a dependency of cerberus-django or cerberus-mcp.

Usage

from cerberus_core import sanitize_dict, SENSITIVE_KEYS, REDACTED

data = {"username": "alice", "password": "hunter2", "nested": {"token": "abc"}}
clean = sanitize_dict(data)
# {"username": "alice", "password": "[REDACTED]", "nested": {"token": "[REDACTED]"}}

What's Included

  • SENSITIVE_KEYS — Unified set of key names whose values should be redacted (passwords, tokens, API keys, PII identifiers, etc.)
  • SENSITIVE_HEADERS — HTTP headers that should always be redacted
  • REDACTED — The sentinel string [REDACTED]
  • sanitize_dict(data) — Recursively redacts sensitive keys in dicts and lists

Metadata

Release files for cerberus-core 0.1.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 cerberus-core 0.1.1
File Size Uploaded Provenance
cerberus_core-0.1.1.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cerberus-core 0.1.1
File Interpreter ABI Platform
cerberus_core-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / cerberus_core-0.1.1.tar.gz

Download URL cerberus_core-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f62edb71c424ce45b9364ae4431ca9f3da51c3891b9259972ba6671e2d64564e
BLAKE2b-256 checksum
How to use checksums
c3e89b324320a4d963751d0502c9406c86209746d52dadb492c9ab5c08c1387e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / cerberus_core-0.1.1-py3-none-any.whl

Download URL cerberus_core-0.1.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b66bb25d28c76fee044dff240b486c88332f5f83dc5aab2a263d54e564d6c4
BLAKE2b-256 checksum
How to use checksums
6d15d01ba1b5f4cb62221a487cc4578a78aac75be119281dc7d8212e042a23d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for cerberus-core 0.1.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.

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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