Skip to main content

Shared utilities for the Cerberus monitoring ecosystem

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cerberus_core-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cerberus_core-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file cerberus_core-0.1.1.tar.gz.

File metadata

  • Download URL: cerberus_core-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for cerberus_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f62edb71c424ce45b9364ae4431ca9f3da51c3891b9259972ba6671e2d64564e
MD5 635d671a7e9e8849b1876f37d0fd2963
BLAKE2b-256 c3e89b324320a4d963751d0502c9406c86209746d52dadb492c9ab5c08c1387e

See more details on using hashes here.

File details

Details for the file cerberus_core-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cerberus_core-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for cerberus_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b66bb25d28c76fee044dff240b486c88332f5f83dc5aab2a263d54e564d6c4
MD5 97f64396b28fd897de8b7829859ac0e2
BLAKE2b-256 6d15d01ba1b5f4cb62221a487cc4578a78aac75be119281dc7d8212e042a23d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page