sentry-sdk slim wrapper for more security and easier to use.
Project description
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
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-0.2.2.tar.gz
(19.1 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-0.2.2.tar.gz.
File metadata
- Download URL: lush_sentryx-0.2.2.tar.gz
- Upload date:
- Size: 19.1 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 |
5156f365812cfcdb66cfbbeeeab2a397cd0541c1157b7415ab3d6af1a687db23
|
|
| MD5 |
b227c36aad532ff850fb76e00026680f
|
|
| BLAKE2b-256 |
161bf3d595d1a95c730e765bc2b48c50fd032c3d1cb0f7fc4ee34243b436eed5
|
File details
Details for the file lush_sentryx-0.2.2-py3-none-any.whl.
File metadata
- Download URL: lush_sentryx-0.2.2-py3-none-any.whl
- Upload date:
- Size: 26.1 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 |
4ad042f769cb9d317b3026a19498d802dadf7f0ad7c1439d54c1ef582a0857cd
|
|
| MD5 |
5c06aa34d4dec5b8b18e1f3bd3728b67
|
|
| BLAKE2b-256 |
6a864556e6afd5a3b8bd393c6bb6c4cddaea5f158b64e95270863dce5b789c4f
|