serp-log
A logging drop-in for the Serpentine subset. The process-global logger
registry and configuration live in the runtime (serp_log_core, a
str→str KV store + stderr sink — DECISIONS.md D12), so getLogger("a.b")
behaves like CPython's singleton registry even though Logger values are
plain immutable dataclasses.
Mirrored surface (19/19 stdlib parity checks)
getLogger(name="")with dotted-name effective-level inheritance;setLevel / getEffectiveLevel / isEnabledFor / level.debug/info/warning/error/critical/logon loggers and at module level (module-level calls runbasicConfig()implicitly, like CPython).basicConfig(level=, format=, filename=, filemode=)with CPython's configure-once semantics; file output is byte-identical to stdlib.- The last-resort handler: unconfigured records ≥ WARNING print the bare message to stderr.
getLevelNameincl. the"Level N"form; constantsCRITICAL/FATAL/ERROR/WARNING/WARN/INFO/DEBUG/NOTSET.
Caps
Messages are single pre-formatted strings (use f-strings — no %-args);
format supports %(levelname)s/%(name)s/%(message)s; no
Handler/Formatter/Filter objects; no exception()/exc_info; no
addLevelName/disable. Legacy helpers (make_logger, log_line,
level_name, append_log) are retained.
Install into a Serpentine project with serp add serp-log.
Metadata
Release files for serp-log 0.2.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 | |
|---|---|---|---|
| serp_log-0.2.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serp_log-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / serp_log-0.2.0.tar.gz
| Download URL | serp_log-0.2.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
245067799f4bbf75e13204ea09a14397dd93c42bbbfef02c1da4a66a7ef51b77
|
|
BLAKE2b-256 checksum How to use checksums |
542bf13ff250e8d71a02deb3c70c9c226242c8e9a4981affe999f8219a690d43
|
| 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 Sep 29, 2026.
Transparency logRelease files / serp_log-0.2.0-py3-none-any.whl
| Download URL | serp_log-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1930d05bc4fb6859b2e630911183905d0f830e5ae3b8fb4f5fe2597d949b0434
|
|
BLAKE2b-256 checksum How to use checksums |
9f4cc07b9c2e6d9523fe6ff72c11d70ba2791755885781d780714cb1ffb45415
|
| 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 Sep 29, 2026.
Transparency log