Skip to main content

Core scrubbing and masking utilities for Sentry events, SDK-agnostic.

Project description

lush-sentryx-core

只做一件事: 对数据做脱敏/过滤.

它不依赖 sentry-sdk. 你可以把它接到 Sentry 的 before_send 上,也可以单独用在日志/审计/任务系统里.

例子

from lush_sentryx_core import SENTRY_DEFAULT_DENYLIST, deep_scrub_sensitive_data

data = {"password": "secret", "profile": {"token": "xxx", "name": "demo"}}
deep_scrub_sensitive_data(data, SENTRY_DEFAULT_DENYLIST)

开发

uv sync -p 3.10 --frozen
uv run -p 3.10 pytest

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

lush_sentryx_core-0.2.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

lush_sentryx_core-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file lush_sentryx_core-0.2.0.tar.gz.

File metadata

  • Download URL: lush_sentryx_core-0.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lush_sentryx_core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6fe91cee612866141abf5bc054810cf75bae8ef5e3d2dd42ff76949ebe01e801
MD5 99554469e6857d0a442851f69f6d2a49
BLAKE2b-256 6ca755f2780d98dde6230d77cdb9e8a49bb9c75bf679765fbb27b48f4edc4259

See more details on using hashes here.

File details

Details for the file lush_sentryx_core-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lush_sentryx_core-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lush_sentryx_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90d4f6ac3d5dc824bfd4dc29c849b8e405357066491aeb758760aa728c4d572d
MD5 3877ee534a4f3ec0c27f5bd53c15e5a8
BLAKE2b-256 c6e05f78a5bdca6792da44486b1ced7856c0d87947c38400bb6e286857d6a0eb

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