logbook-stubs
Type stubs for Logbook.
Provides .pyi files for type checking and IDE autocompletion.
Installation
pip install logbook-stubs
or
uv add logbook-stubs --group test
Usage
Type checkers use these stubs automatically when you import logbook.
Example:
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from logbook.base import LogRecord
def emit(record: LogRecord) -> None:
...
Included
logbook.base:LogRecord, levelslogbook.handlers: Handlers, formatters
Compatibility
Tested with Logbook >= 1.9.0. It does not cover all classes in Logbook yet.
Metadata
Release files for logbook-stubs 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| logbook_stubs-0.4.0.tar.gz | 36.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logbook_stubs-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.3 kB
Release files / logbook_stubs-0.4.0.tar.gz
| Download URL | logbook_stubs-0.4.0.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b74321f2878c4e1862a55eb6599b8c74cd23cbae546da09bc9751cd0aa05e6d3
|
|
BLAKE2b-256 checksum How to use checksums |
c6975db46df09d733d03976f995d0d13a1a9cae26d36dd89d173c173e276a193
|
| 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 Aug 13, 2026.
Transparency logRelease files / logbook_stubs-0.4.0-py3-none-any.whl
| Download URL | logbook_stubs-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8642347bba95510721c6db413f8818c8bffade3d1b342c4e04cffa0b7afe87c3
|
|
BLAKE2b-256 checksum How to use checksums |
6ab954832abd1715965b3de81977b6e8b245e25157f3236d9579955f33be7aef
|
| 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 Aug 13, 2026.
Transparency log