A plugin for poetry that adds Snakemake-specific functionality.
Project description
poetry-snakemake-plugin
A plugin for poetry that adds Snakemake-specific functionality. Currently it supports scaffolding the source code for new Snakemake executor plugins and storage plugins. This works as follows.
Scaffolding an executor plugin
Lets assume that you want to create a snakemake executor plugin with the name snakemake-executor-plugin-myfancyexecutor
.
# Install poetry plugin via
poetry self add poetry-snakemake-plugin
# Create a new poetry project via
poetry new snakemake-executor-plugin-myfancyexecutor
cd snakemake-executor-plugin-myfancyexecutor
# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-executor-plugin
# Next, edit the scaffolded code according to your needs, and publish
# the resulting plugin into a github repository. The scaffold command also
# creates github actions workflows that will immediately start to check and test
# the plugin.
Scaffolding a storage plugin
Lets assume that you want to create a snakemake storage plugin with the name snakemake-storage-plugin-myfancystorage
.
# Install poetry plugin via
poetry self add poetry-snakemake-plugin
# Create a new poetry project via
poetry new snakemake-storage-plugin-myfancystorage
cd snakemake-storage-plugin-myfancystorage
# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-storage-plugin
# Next, edit the scaffolded code according to your needs, and publish
# the resulting plugin into a github repository. The scaffold command also
# creates github actions workflows that will immediately start to check and test
# the plugin.
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
File details
Details for the file poetry_snakemake_plugin-0.3.3.tar.gz
.
File metadata
- Download URL: poetry_snakemake_plugin-0.3.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca461c24d60de72783c1bdb31ee5a3a90961a5dddb549855e70f6cfcfa88584 |
|
MD5 | 0b0527211bbf1920b0af6ccd99c6bfca |
|
BLAKE2b-256 | 83c3709d80a2f5f562d8c7484256385b62e48d088110e1e7e98d739d948cbd65 |
File details
Details for the file poetry_snakemake_plugin-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: poetry_snakemake_plugin-0.3.3-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c25ddf519ef14c0a04bfee5e054ad37ba2d93a02672419316d103aa18e57bca |
|
MD5 | b73c05fbbb983a6aa3556ce3dc007696 |
|
BLAKE2b-256 | fbcca1c73180ff7075466bca8dcccbcdb8ed19e7927e4ce5d6ecbaf3c8ee96f8 |