Skip to main content

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/log on loggers and at module level (module-level calls run basicConfig() 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.
  • getLevelName incl. the "Level N" form; constants CRITICAL/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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serp-log 0.2.1
File Size Uploaded Provenance Actions
serp_log-0.2.1.tar.gz 4.9 kB With provenance Details for serp_log-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for serp-log 0.2.1
File Interpreter ABI Platform Actions
serp_log-0.2.1-py3-none-any.whl Python 3 none any Details for serp_log-0.2.1-py3-none-any.whl

Total release size: 9.6 kB

Release files / serp_log-0.2.1.tar.gz

Download URL serp_log-0.2.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a03a254628a6cf61b28fd5007b8b6e7c5939faf9bcb1fd30ccde91f4b6083e50
BLAKE2b-256 checksum
How to use checksums
bd994bed3bf8524e2a3f0f9745f837eefa76ee5bcf0beade55f4bbf41ddb4827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Release files / serp_log-0.2.1-py3-none-any.whl

Download URL serp_log-0.2.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
905514cde85b394a5ecd9682987c5131d5f6d5015d743c2d1f7b3aeabcc5fd3d
BLAKE2b-256 checksum
How to use checksums
bea19e8be55e48eaf37cba007805f42fee4d6a5e6e040e471a8b353551bea681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Security for serp-log 0.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for serp_log-0.2.1.tar.gz

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 Oct 27, 2026.

Transparency log

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

This release

0.2.1 This release

2 release files Full provenance

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