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.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 narrativetrace-structlog 0.3.0
File Size Uploaded
narrativetrace_structlog-0.3.0.tar.gz 5.7 kB Details

Built distribution (wheel)

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

Total release size: 10.5 kB

Release files / narrativetrace_structlog-0.3.0.tar.gz

Download URL narrativetrace_structlog-0.3.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
65f487081db613949d216e34391db962de529203d40e22397ca37da05cf5e52c
BLAKE2b-256 checksum
How to use checksums
d90d2a2e6910738df5002cfafa4729b675598118b09d92c93035fc477f53676e
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 Oct 10, 2026.

Transparency log

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

Download URL narrativetrace_structlog-0.3.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4723cadff320973e7e8714a64f1ff5f703109bd185d20ac4331a117464865da4
BLAKE2b-256 checksum
How to use checksums
a8523c3509b4c7239209e1d2e226551c5842139b68b71b476d1fb64ddd928c48
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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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