Skip to main content

narrativetrace-structlog

A structlog processor that injects narrativetrace correlation keys (traceId, traceName, spanId, nt.class, HTTP/request keys, …) into every event dict — the same canonical key set the stdlib NarrativeContextFilter stamps onto log records, so both logging front-ends stay in lockstep.

import structlog
from narrativetrace_structlog import narrative_context_processor

structlog.configure(processors=[narrative_context_processor, structlog.processors.JSONRenderer()])

Metadata

Release files for narrativetrace-structlog 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for narrativetrace-structlog 0.5.3
File Size Uploaded Provenance Actions
narrativetrace_structlog-0.5.3.tar.gz 5.9 kB With provenance Details for narrativetrace_structlog-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for narrativetrace-structlog 0.5.3
File Interpreter ABI Platform Actions
narrativetrace_structlog-0.5.3-py3-none-any.whl Python 3 none any Details for narrativetrace_structlog-0.5.3-py3-none-any.whl

Total release size: 10.6 kB

Release files / narrativetrace_structlog-0.5.3.tar.gz

Download URL narrativetrace_structlog-0.5.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab2bfbb28ac8dbd6245d4bc8931f15320415950d4c5bacc9726cf7660dfd31c
BLAKE2b-256 checksum
How to use checksums
cc3a8b01080f186ab1d4d70ab6672c3865ffe7d97d3307a3c22bc79f86fd62c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / narrativetrace_structlog-0.5.3-py3-none-any.whl

Download URL narrativetrace_structlog-0.5.3-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11d4e18b1ade8631ddc2b3333c4cd86d57615ee99453a7d37a4659c726149dff
BLAKE2b-256 checksum
How to use checksums
02835bcca468940740092eb0aa989d4e2ac87000bf8d43766e7130da8719b7e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for narrativetrace-structlog 0.5.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for narrativetrace_structlog-0.5.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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