Plainlog
Installation
pip install plainlog
or add it to your project with
uv add plainlog
uv sync
Quickstart
from plainlog import logger
logger.info("hello world")
logger.warning("look out!")
logger.error("something broke")
Or use a profile for more structured output:
from plainlog import logger
from plainlog.configure import apply_log_profile
apply_log_profile("develop", level="DEBUG")
logger.info("ready to go")
Child Loggers
Create a child logger whose name is derived from the current module:
from plainlog import logger
log = logger.new(__name__)
log.info("logged with the module name as logger name")
Idea
Main goal is to be a plain easy to use logging library. Simple, small, and fast.
If you are too lazy for long configuration settings simply use the provided log profiles. Advanced configuration can be done with environment variables or in the code.
No dependencies to other libraries. Pure Python working in different Python implementations.
Status
In development beta, internal interfaces can change.
Changelog
See CHANGELOG.md for the full list of changes, or the Changelog page in the docs.
License
plainlog is distributed under the terms of any of the following licenses:
Metadata
Release files for plainlog 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 | |
|---|---|---|---|
| plainlog-0.4.0.tar.gz | 21.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plainlog-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.7 kB
Release files / plainlog-0.4.0.tar.gz
| Download URL | plainlog-0.4.0.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3c3669c19b0750270ebae23177fbbf47149180b190633fb97546280fd15c99c
|
|
BLAKE2b-256 checksum How to use checksums |
7dceba0c1f69291c418fdb1fab7798a3eb0348d034198c795a7e7dc2a601de68
|
| 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 28, 2026.
Transparency logRelease files / plainlog-0.4.0-py3-none-any.whl
| Download URL | plainlog-0.4.0-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cac673bdc5d0f196f1aa01f76b3c0a3bd0cdf168747c4cbd3ca4c1da31c960ea
|
|
BLAKE2b-256 checksum How to use checksums |
98a61583182f2efe1810299f194f06bae523ef357202c87af9e519590ee6b448
|
| 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 28, 2026.
Transparency log