Skip to main content

Modified SMK library that supports defining workflows via strings without Snakefile

Project description

ismk

ismk is a lightweight fork of Snakemake (v9.14) that makes workflows fileless by design. Instead of forcing you to create a Snakefile on disk, ismk lets you define and run workflows directly from Python strings, entirely in-process.

This is especially handy for programmatic or dynamic workflow generation—think “build the Snakefile on the fly, run it immediately, and leave no files behind.”

Updates will be aligned with upstream major releases when needed, rather than tracking every minor version bump.

What's different from upstream

Added

  • StringSourceFile class (sourcecache.py:105–142)

    • A SourceFile implementation that keeps Snakefile content in memory
    • Enables workflows to be sourced straight from strings
  • Workflow.include_string() method (workflow.py:1667–1710)

    • Load Snakefile content directly from a string
    • Full Snakemake/Snakefile syntax supported
    • Optional debug mode to print compiled code for easier inspection
  • Bug fix (api.py:610–612)

    • Fixes missing initialization of scheduler_settings when using scheduler='greedy' directly

Removed

To stay focused on the core library experience, ismk strips out:

  • Docs (Please read the official snakemake online docs)
  • Some development tooling configs

Note: The tests/ module itself is kept to support Snakemake’s built-in testing features.

Others

Performed some code formatting and minor refactoring.

License

MIT License — same as upstream Snakemake.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ismk-2025.12.18.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ismk-2025.12.18-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file ismk-2025.12.18.tar.gz.

File metadata

  • Download URL: ismk-2025.12.18.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ismk-2025.12.18.tar.gz
Algorithm Hash digest
SHA256 de349543be9c4bf4b7b284e99a7f91b105b8251fbbae84b5c00a758dbc3e81c0
MD5 aee8e3e2c5ea02ba61d6f24bd15089d4
BLAKE2b-256 85d2dcb827c5904be8f7b9adb0531229c0aeaf4a20426e733b3b0a0ce8d2f9dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ismk-2025.12.18.tar.gz:

Publisher: ci.yml on xbugs221/ismk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ismk-2025.12.18-py3-none-any.whl.

File metadata

  • Download URL: ismk-2025.12.18-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ismk-2025.12.18-py3-none-any.whl
Algorithm Hash digest
SHA256 dad9ce0f3f5985552b28769106f41d13fc2cf6b5bb67089fad7f3c725beb0559
MD5 2cd9ef765bb85d2135ae81b76f6d4ede
BLAKE2b-256 1cba023d8339bf3f72470f08949aa50281237a4f7adbce4197d49cb80aae60f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ismk-2025.12.18-py3-none-any.whl:

Publisher: ci.yml on xbugs221/ismk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page