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
Release history Release notifications | RSS feed
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.1.1.tar.gz
(10.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lush_sentryx_core-0.1.1.tar.gz.
File metadata
- Download URL: lush_sentryx_core-0.1.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b51c8ef8aeb28b314b7fd8662233e0938e9f795d06a84c6736a147928b91ce8f
|
|
| MD5 |
92972e6306635a2b565ad3ceaca59cc0
|
|
| BLAKE2b-256 |
301cd63f616dcf4b6b11d4cc0a869f7a0551b1054c016fc31a5650b61bd347a3
|
File details
Details for the file lush_sentryx_core-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lush_sentryx_core-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc180bb1566d7536a7c05a5a614b631aa585858acb70e95d0db841f40e697822
|
|
| MD5 |
ca8e621c1f9eef2c814ea82022da3c24
|
|
| BLAKE2b-256 |
7be55bec58ee460242a99d7f2dc7feee157d7ce0f887722370f6591f23169839
|