Skip to main content

Snakemake Logger Plugin: snkmt

This plugin is still under development and thus may not be fully stable or feature-complete. Use it at your own discretion and report any issues or suggestions to the repository's issue tracker.

Introduction

This is the logging plugin for use with snkmt, a monitoring tool for Snakemake workflows. Please refer to snkmt's documentation for more details.

Usage

  1. Install via pip: pip install snakemake-logger-plugin-snkmt
  2. Run Snakemake with the --logger snkmt option to enable the snkmt logger.

Note: Regular Snakemake logs will continue to be written to stderr when using this plugin, so it may appear that the plugin is not doing anything. This behavior will change in future versions.

Options

  • --logger-snkmt-db </path/to/sqlite.db>" Where to write the snkmt DB.

Development

This project uses pixi for environment management.

Setting up the development environment

  1. Clone the repository:

    git clone https://github.com/cademirch/snakemake-logger-plugin-snkmt.git
    cd snakemake-logger-plugin-snkmt
    
  2. Install dependencies using pixi:

    pixi install
    
  3. Activate the development environment:

    pixi shell -e dev
    

Available development tasks

Run these commands with pixi run (or just use the command directly if you're in a pixi shell):

  • Quality control: pixi run qc - Runs formatting, linting, and type checking
  • Testing: pixi run test - Runs pytest with coverage reporting
  • Demo: pixi run demo - Runs a demonstration Snakemake workflow using the plugin
  • Individual QC tasks:
    • pixi run format - Format code with ruff
    • pixi run lint - Lint code with ruff
    • pixi run type-check - Type check with mypy

Testing the plugin

To test the plugin with a real Snakemake workflow, use the demo task:

pixi run demo

This will:

  1. Run a simple Snakemake workflow in tests/demo/ using the snkmt logger
  2. Create a SQLite database at tests/demo/snkmt.db with the logged workflow data
  3. Clean up the demo directory afterward

You can also run the demo manually without cleanup using:

pixi run snk_demo

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for snakemake-logger-plugin-snkmt 0.1.9

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-snkmt 0.1.9
File Size Uploaded
snakemake_logger_plugin_snkmt-0.1.9.tar.gz 17.5 kB Details

Built distribution (wheel)

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

Total release size: 28.3 kB

Release files / snakemake_logger_plugin_snkmt-0.1.9.tar.gz

Download URL snakemake_logger_plugin_snkmt-0.1.9.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
42fc5b9a05e09f763e62c806cea3459b3abc1bda66ded569644417959acd5410
BLAKE2b-256 checksum
How to use checksums
f862f6996b24d0170137e6ad7bc193d3e51e05bcfe056105663f3d9360336ef8
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 Oct 12, 2026.

Transparency log

Release files / snakemake_logger_plugin_snkmt-0.1.9-py3-none-any.whl

Download URL snakemake_logger_plugin_snkmt-0.1.9-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02185a2db661cab58c74fd1cbe7a3a821659f5127a451f60ef9cc43139eec328
BLAKE2b-256 checksum
How to use checksums
68487c4996383005190e9f15f514ff98e1318dbcba75b9b49aa9a5f586846844
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 Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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