Skip to main content

lush-logx

structlog 的一套常用配置封装,顺手带了一个“解析结构化日志”的 CLI.

用法

最常见的场景是把项目日志统一成一套结构(开发环境友好,线上 JSON 稳定):

from lush_logx import configure_logging_once, get_logger

configure_logging_once()
logger = get_logger(__name__)
logger.info("hello", foo="bar")

CLI

lush-logx 内置了一个日志解析器,适合在本地把 JSON 日志流快速“读成”人能看的样子:

uv run lush-logx-cli-log-parser < your.log

开发

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

Metadata

Release files for lush-logx 0.1.1

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-logx 0.1.1
File Size Uploaded Provenance Actions
lush_logx-0.1.1.tar.gz 22.9 kB Without provenance Details for lush_logx-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lush-logx 0.1.1
File Interpreter ABI Platform Actions
lush_logx-0.1.1-py3-none-any.whl Python 3 none any Details for lush_logx-0.1.1-py3-none-any.whl

Total release size: 45.7 kB

Release files / lush_logx-0.1.1.tar.gz

Download URL lush_logx-0.1.1.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
576a5d8f604e798255e1ba1f83f69155304cdd53b9219d46d9d03d4a1f68ace2
BLAKE2b-256 checksum
How to use checksums
8b8fcb060797679f4776d2aa6fd73028158c79c9ffe00dfc564c183128cc5d79
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / lush_logx-0.1.1-py3-none-any.whl

Download URL lush_logx-0.1.1-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
553da14e231d915cf7195504e567ed84270b824a52e0233807b6b4ac4d1be8e1
BLAKE2b-256 checksum
How to use checksums
5701f0fa49d0f11666b41629685cf200adea7ee6828e094e9602e50c61b17d82
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for lush-logx 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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