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
- Install via pip:
pip install snakemake-logger-plugin-snkmt - Run Snakemake with the
--logger snkmtoption 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
-
Clone the repository:
git clone https://github.com/cademirch/snakemake-logger-plugin-snkmt.git cd snakemake-logger-plugin-snkmt
-
Install dependencies using pixi:
pixi install -
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 ruffpixi run lint- Lint code with ruffpixi 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:
- Run a simple Snakemake workflow in
tests/demo/using the snkmt logger - Create a SQLite database at
tests/demo/snkmt.dbwith the logged workflow data - 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)
| File | Size | Uploaded | |
|---|---|---|---|
| snakemake_logger_plugin_snkmt-0.1.9.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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