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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de349543be9c4bf4b7b284e99a7f91b105b8251fbbae84b5c00a758dbc3e81c0
|
|
| MD5 |
aee8e3e2c5ea02ba61d6f24bd15089d4
|
|
| BLAKE2b-256 |
85d2dcb827c5904be8f7b9adb0531229c0aeaf4a20426e733b3b0a0ce8d2f9dc
|
Provenance
The following attestation bundles were made for ismk-2025.12.18.tar.gz:
Publisher:
ci.yml on xbugs221/ismk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ismk-2025.12.18.tar.gz -
Subject digest:
de349543be9c4bf4b7b284e99a7f91b105b8251fbbae84b5c00a758dbc3e81c0 - Sigstore transparency entry: 770740373
- Sigstore integration time:
-
Permalink:
xbugs221/ismk@a372c2fddd9b9d441ba681e7639d71bb686b258b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xbugs221
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a372c2fddd9b9d441ba681e7639d71bb686b258b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dad9ce0f3f5985552b28769106f41d13fc2cf6b5bb67089fad7f3c725beb0559
|
|
| MD5 |
2cd9ef765bb85d2135ae81b76f6d4ede
|
|
| BLAKE2b-256 |
1cba023d8339bf3f72470f08949aa50281237a4f7adbce4197d49cb80aae60f1
|
Provenance
The following attestation bundles were made for ismk-2025.12.18-py3-none-any.whl:
Publisher:
ci.yml on xbugs221/ismk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ismk-2025.12.18-py3-none-any.whl -
Subject digest:
dad9ce0f3f5985552b28769106f41d13fc2cf6b5bb67089fad7f3c725beb0559 - Sigstore transparency entry: 770740378
- Sigstore integration time:
-
Permalink:
xbugs221/ismk@a372c2fddd9b9d441ba681e7639d71bb686b258b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xbugs221
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a372c2fddd9b9d441ba681e7639d71bb686b258b -
Trigger Event:
push
-
Statement type: