Skip to main content

lush-sentryx

围绕 sentry-sdk 做的一层轻量封装: 把配置聚在一起,默认做脱敏,同时把“初始化失败”当成可降级事件处理.

如果你只想要脱敏/过滤能力,不依赖 sentry-sdk,看 lush-sentryx-core.

安装

按框架装 extra 会更省事:

  • fastapi: lush-sentryx[fastapi]
  • flask: lush-sentryx[flask]
  • django: lush-sentryx[django]

快速开始

from lush_sentryx import SentryConfig
from lush_sentryx.integrations.common import default_common_integrations

config = SentryConfig(
    dsn="https://xxx@sentry.io/123",
    enabled=True,
    integrations=[*default_common_integrations()],
)
manager = config.create_manager()
manager.init()

开发

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

Metadata

Release files for lush-sentryx 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 lush-sentryx 0.3.0
File Size Uploaded Provenance Actions
lush_sentryx-0.3.0.tar.gz 18.9 kB Without provenance Details for lush_sentryx-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 44.7 kB

Release files / lush_sentryx-0.3.0.tar.gz

Download URL lush_sentryx-0.3.0.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c2c75219d9ca6012bdd95155b0772a5e447eb673a36c61087bbd592586e378c
BLAKE2b-256 checksum
How to use checksums
9db3e06433195022ab4a46a24470368ecbe6eca5147e36ca0915aad668239e7b
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL lush_sentryx-0.3.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa5af8e2824825ba8fb1746d8f76e85b7df13d3925a7d905f3f95346d04746a6
BLAKE2b-256 checksum
How to use checksums
d464ee483380e4380827a6606259d3d68d12ef08d6f3e9f04be72b9b31358ec8
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for lush-sentryx 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