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.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| narrativetrace_structlog-0.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| narrativetrace_structlog-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / narrativetrace_structlog-0.1.2.tar.gz
| Download URL | narrativetrace_structlog-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc512b9990e541a648d48bd907ce0926bc459c395bc8fea2c605ddc46384c7a2
|
|
BLAKE2b-256 checksum How to use checksums |
529ef6f1ecf82917ab9e29d812a838535873b544447c02705de9a607cccc71a6
|
| 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 Sep 16, 2026.
Transparency logRelease files / narrativetrace_structlog-0.1.2-py3-none-any.whl
| Download URL | narrativetrace_structlog-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54a609dfe5136c50dfa549c5824a2b330f70c5b2b95bc0ece0adbf8c33e6e17b
|
|
BLAKE2b-256 checksum How to use checksums |
513099a76157b3fdeb4e69fd472205e63b02dda25d7169c0b6b45eb5e59b1612
|
| 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 Sep 16, 2026.
Transparency log