Skip to main content

LogBuffer

LogBuffer captures execution context as structured events in memory and emits it only when an operation fails.

It is designed for diagnostics in code paths where logging every intermediate state change would be noisy, but losing that context during an exception makes debugging difficult.

LogBuffer currently provides:

  • MemoryEventBuffer for temporary in-memory event collection
  • VerboseDict for recording dictionary mutations as diagnostic events
  • FailureContext for flushing buffered events when an exception escapes a scope
  • ConsoleConsumer for rendering captured events to the terminal

Metadata

Release files for logbuffer 0.1.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 logbuffer 0.1.0
File Size Uploaded Provenance Actions
logbuffer-0.1.0.tar.gz 5.8 kB Without provenance Details for logbuffer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for logbuffer 0.1.0
File Interpreter ABI Platform Actions
logbuffer-0.1.0-py3-none-any.whl Python 3 none any Details for logbuffer-0.1.0-py3-none-any.whl

Total release size: 14.1 kB

Release files / logbuffer-0.1.0.tar.gz

Download URL logbuffer-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1030b1d839180b28f369b53efa70cb00748250cc93c3156b29f5ce391a3849f5
BLAKE2b-256 checksum
How to use checksums
df7f16285ec40c95564d0bf7a748c4f3f6cd75de5a736bc19843a4624baaf3c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / logbuffer-0.1.0-py3-none-any.whl

Download URL logbuffer-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
526a60629d9bc910b32992cc858951bf9ebf1d192ccfa92a921a9ca2d8ac9655
BLAKE2b-256 checksum
How to use checksums
b97fa99225051dd17dc8aaf2251db7ecb9b4c38b491b253f9730f2d6e033f865
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for logbuffer 0.1.0

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.0 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