Skip to main content

A plugin for poetry that adds Snakemake-specific functionality.

Project description

poetry-snakemake-plugin

test coverage: 100%

A plugin for poetry that adds Snakemake-specific functionality. Currently it supports scaffolding the source code for new Snakemake executor plugins, storage plugins, and report 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@latest

# 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@latest

# 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.

Scaffolding a report plugin

Lets assume that you want to create a snakemake report plugin with the name snakemake-report-plugin-myfancyreport.

# Install poetry plugin via
poetry self add poetry-snakemake-plugin@latest

# Create a new poetry project via
poetry new snakemake-report-plugin-myfancyreport

cd snakemake-storage-plugin-myfancyreport

# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-report-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.

Scaffold a software deployment plugin

Lets assume that you want to create a snakemake software deployment plugin with the name snakemake-deployment-plugin-myfancydeployment.

# Install poetry plugin via
poetry self add poetry-snakemake-plugin@latest

# Create a new poetry project via
poetry new snakemake-software-deployment-plugin-myfancydeployment

cd snakemake-software-deployment-plugin-myfancydeployment

# Scaffold the project as a snakemake software deployment plugin
poetry scaffold-snakemake-software-deployment-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


Download files

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

Source Distribution

poetry_snakemake_plugin-0.8.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

poetry_snakemake_plugin-0.8.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file poetry_snakemake_plugin-0.8.1.tar.gz.

File metadata

  • Download URL: poetry_snakemake_plugin-0.8.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for poetry_snakemake_plugin-0.8.1.tar.gz
Algorithm Hash digest
SHA256 13f1819e5121af5f8339ec9acf931a392dfef8584cf2aa195f93ee7bfdb28ff7
MD5 13bb4fe3954fc7dfda1fac95f272372b
BLAKE2b-256 e5fc04c24379f7c08888105ee8b139665fbcb9cbd02cc9367130901171e482d8

See more details on using hashes here.

File details

Details for the file poetry_snakemake_plugin-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_snakemake_plugin-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4eb6631cb43402ec194fdba70c54c87cc32e8a77043fda450cac64efed337bc
MD5 a8d763df47cad8a1d5f2864d74c87ea9
BLAKE2b-256 33d7b1cc6e89f800811271da7196992ad5298338948629389492091722f486d2

See more details on using hashes here.

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