Skip to main content

Snakemake Logger Plugin: Rich

Note: This plugin is currently in development and may not be fully stable. Use at your own discretion and report any issues to the repository's issue tracker.

Introduction

A logging plugin for Snakemake that utilizes rich for enhanced terminal styling and progress bars.

Usage

  1. Install via pip:

    pip install snakemake-logger-plugin-rich
    
  2. Run Snakemake with the --logger rich option:

    snakemake --logger rich
    

Development

This project uses pixi for environment management.

Setting up the development environment

  1. Fork the repository

  2. Clone the repository:

    git clone https://github.com/<your-username>/snakemake-logger-plugin-rich.git
    cd snakemake-logger-plugin-rich
    
  3. Install dependencies using pixi:

    pixi install
    
  4. Activate the development environment:

    pixi shell -e dev
    

Available development tasks

Run these commands with pixi run:

  • Demo: pixi run demo [snakefile] - Runs a complete demo workflow and cleans up afterward. Uses demo/Snakefile by default, or specify a custom Snakefile path
  • Run Demo: pixi run run-demo [snakefile] - Runs a demonstration Snakemake workflow using the plugin. Uses demo/Snakefile by default, or specify a custom Snakefile path
  • Dry Run: pixi run dryrun [snakefile] - Performs a dry run of the demo workflow. Uses demo/Snakefile by default, or specify a custom Snakefile path
  • Clean Demo: pixi run clean-demo - Cleans up demo output files
  • Quality Control: pixi run qc - Runs formatting, linting, and type checking
  • Format: pixi run format - Format code with ruff
  • Lint: pixi run lint - Lint code with ruff
  • Lint Fix: pixi run lint-fix - Lint and auto-fix code with ruff
  • Type Check: pixi run type-check - Type check with mypy

Testing the plugin

To test the plugin with the demo workflow:

pixi run demo

Or to run just the demo workflow without cleanup:

pixi run run-demo

To test with a custom Snakefile:

pixi run demo path/to/your/Snakefile

License

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

Metadata

Release files for snakemake-logger-plugin-rich 0.5.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 snakemake-logger-plugin-rich 0.5.1
File Size Uploaded Provenance Actions
snakemake_logger_plugin_rich-0.5.1.tar.gz 19.1 kB With provenance Details for snakemake_logger_plugin_rich-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for snakemake-logger-plugin-rich 0.5.1
File Interpreter ABI Platform Actions
snakemake_logger_plugin_rich-0.5.1-py3-none-any.whl Python 3 none any Details for snakemake_logger_plugin_rich-0.5.1-py3-none-any.whl

Total release size: 33.1 kB

Release files / snakemake_logger_plugin_rich-0.5.1.tar.gz

Download URL snakemake_logger_plugin_rich-0.5.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
741d4389936ebf3a6ebb307c3bd68efb63a8b834ded86b4f8263433ba2bae5e0
BLAKE2b-256 checksum
How to use checksums
3ff30740e135f0d32e9e394ea1018a67724991692c659d06a3978b7750c6701e
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 26, 2026.

Transparency log

Release files / snakemake_logger_plugin_rich-0.5.1-py3-none-any.whl

Download URL snakemake_logger_plugin_rich-0.5.1-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
245ef7fffdeaf84a4b9e27dc4da57ad8ac8304221e41b1ffba96f37fac923686
BLAKE2b-256 checksum
How to use checksums
3a341fb4475045e53c99193d8e6e2d8c68829e3b43fd59728c93a450d85f6d53
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 26, 2026.

Transparency log

Security for snakemake-logger-plugin-rich 0.5.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

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

Select from 2 files

Attestation for snakemake_logger_plugin_rich-0.5.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 26, 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.

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