Skip to main content

snakemake-logger-plugin-sumerrs

A Snakemake logger plugin that collects warnings, plain errors and job failures during workflow runs, and reprints them when the run ends. It is a third output channel, in addition to Snakemake's live screen output and its logfile.

Usage

Installation

pip install snakemake-logger-plugin-sumerrs

Enable

Enable the plugin with --logger:

snakemake --logger sumerrs --cores 1

Example

Snakemake ends with 1 failed job and 0 warning

Failed job:
[Sat Aug 22 22:10:34 2026]
Error in rule fail:
    message: None
    jobid: 1
    output: out.txt
    shell:
        false
        (command exited with non-zero exit code)

Settings

Parameter Value Description
--logger-sumerrs-disable warning, error, job_fail; unknown tokens are ignored. Default is error, pass "" to also report errors. Comma-separated list of report kinds to disable.
--logger-sumerrs-out &2 (default) is stderr, &1 is stdout, or a file path to append to. Where to print the report.
# also report errors
snakemake --logger sumerrs --logger-sumerrs-disable ""

# write to stdout (quote it: `&` is a shell metacharacter)
snakemake --logger sumerrs --logger-sumerrs-out '&1'

# append to a file
snakemake --logger sumerrs --logger-sumerrs-out error.log

Behavior

  • The plugin stays quiet during the run: it only collects records and prints the report once, when the run ends.
  • It is printed directly to the chosen stream and never goes through Snakemake's logging handlers again, so it does not appear in the logfile.
  • It is independent of --quiet.
  • The report is emitted from close(), i.e. after the logger queue has been drained by LoggerManager.stop().
  • Job-failure entries are rendered with Snakemake's DefaultFormatter, so they look exactly like the console output (including --print-logfiles).
  • The plugin handler is active only in the main process (ExecMode.DEFAULT); subprocess/remote job processes skip plugin handlers.

Development

pixi install
pixi run test
# or
pixi run -e test pytest

Metadata

Release files for snakemake-logger-plugin-sumerrs 0.2.0

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

Source distribution (sdist)

Source distribution for snakemake-logger-plugin-sumerrs 0.2.0
File Size Uploaded Provenance
snakemake_logger_plugin_sumerrs-0.2.0.tar.gz 4.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for snakemake-logger-plugin-sumerrs 0.2.0
File Interpreter ABI Platform
snakemake_logger_plugin_sumerrs-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / snakemake_logger_plugin_sumerrs-0.2.0.tar.gz

Download URL snakemake_logger_plugin_sumerrs-0.2.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
10885168bd6c6e30217ca6032f5cbc1195f919352ad883e650c56ffe7ede60fe
BLAKE2b-256 checksum
How to use checksums
e3760be6f2e9b43cf420a740fdab40fb2b2b8911d5d6a8f5e0959753b3f17527
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 22, 2026.

Transparency log

Release files / snakemake_logger_plugin_sumerrs-0.2.0-py3-none-any.whl

Download URL snakemake_logger_plugin_sumerrs-0.2.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d91eb25b76ad5c7c778d83ee284824c1b4998a2fa1de32b71df0f2656837b31
BLAKE2b-256 checksum
How to use checksums
0a6d460a6fea4edde4e44caddbff8e1699da6e5a0743b320a36a563c1b1be58c
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 22, 2026.

Transparency log

Security for snakemake-logger-plugin-sumerrs 0.2.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for snakemake_logger_plugin_sumerrs-0.2.0.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 Aug 22, 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.0 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