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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logbook_stubs-0.4.0.tar.gz.
File metadata
- Download URL: logbook_stubs-0.4.0.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b74321f2878c4e1862a55eb6599b8c74cd23cbae546da09bc9751cd0aa05e6d3
|
|
| MD5 |
fccf706b08e205f11c807ee26ae48d08
|
|
| BLAKE2b-256 |
c6975db46df09d733d03976f995d0d13a1a9cae26d36dd89d173c173e276a193
|
Provenance
The following attestation bundles were made for logbook_stubs-0.4.0.tar.gz:
Publisher:
ci.yaml on hongquan/logbook-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logbook_stubs-0.4.0.tar.gz -
Subject digest:
b74321f2878c4e1862a55eb6599b8c74cd23cbae546da09bc9751cd0aa05e6d3 - Sigstore transparency entry: 2449605081
- Sigstore integration time:
-
Permalink:
hongquan/logbook-stubs@7767ecc645a70295d6d51b81455a4ef941caadd6 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/hongquan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@7767ecc645a70295d6d51b81455a4ef941caadd6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file logbook_stubs-0.4.0-py3-none-any.whl.
File metadata
- Download URL: logbook_stubs-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8642347bba95510721c6db413f8818c8bffade3d1b342c4e04cffa0b7afe87c3
|
|
| MD5 |
81227f71f232981deea3aebbc24fa791
|
|
| BLAKE2b-256 |
6ab954832abd1715965b3de81977b6e8b245e25157f3236d9579955f33be7aef
|
Provenance
The following attestation bundles were made for logbook_stubs-0.4.0-py3-none-any.whl:
Publisher:
ci.yaml on hongquan/logbook-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
logbook_stubs-0.4.0-py3-none-any.whl -
Subject digest:
8642347bba95510721c6db413f8818c8bffade3d1b342c4e04cffa0b7afe87c3 - Sigstore transparency entry: 2449605352
- Sigstore integration time:
-
Permalink:
hongquan/logbook-stubs@7767ecc645a70295d6d51b81455a4ef941caadd6 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/hongquan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@7767ecc645a70295d6d51b81455a4ef941caadd6 -
Trigger Event:
push
-
Statement type: