Skip to main content

Log-based testing 🪵

Poetry Build Codecov Docs PyPI version Supported Python versions

logot makes it easy to test whether your code is logging correctly:

from logot import Logot, logged

def test_something(logot: Logot) -> None:
    do_something()
    logot.assert_logged(logged.info("Something was done"))

logot integrates with popular testing frameworks (e.g. pytest, unittest). It supports many 3rd-party asynchronous and logging frameworks, and can be extended to support many more. 💪

Documentation 📖

Full documentation is published on Read the Docs. Learn more about logot with the following guides:

Bugs / feedback 🐛

Issue tracking is hosted on GitHub.

Changelog 🏗️

Release notes are published on GitHub.

License ⚖️

logot is published as open-source software under the MIT license.

Metadata

Release files for logot 1.8.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 logot 1.8.0
File Size Uploaded Provenance Actions
logot-1.8.0.tar.gz 14.9 kB Without provenance Details for logot-1.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 38.3 kB

Release files / logot-1.8.0.tar.gz

Download URL logot-1.8.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
446202d5000bd7913f246ff305f72d87641f548c7f33279d3d93f842129688c2
BLAKE2b-256 checksum
How to use checksums
d8088e5ce4e516f3c74ee76237d58011647b6aaa4120b9003b1ec2fe17529798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.4 Linux/7.0.0-1017-azure

Release files / logot-1.8.0-py3-none-any.whl

Download URL logot-1.8.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1329d9f5115524d1bbe3c55f78da4352dc0683389705dd686fd2f45238c1e014
BLAKE2b-256 checksum
How to use checksums
a71ada3cbca5cd75152f046f74e631c8a274f1379b74a6df7901b40c85cfd617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.4 Linux/7.0.0-1017-azure

Security for logot 1.8.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

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