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


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.3.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

poetry_snakemake_plugin-0.3.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poetry_snakemake_plugin-0.3.1.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

Hashes for poetry_snakemake_plugin-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5f8c9c34b22afef6099bb9296e63166b5952fdabf874082a3c70a4a590d46455
MD5 8970e76a3af0bc8504763e0cd4e60b96
BLAKE2b-256 dc7dc27ef0cda458a207d16508619c7215afe69c2d3492177b0e029b396ddf4b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for poetry_snakemake_plugin-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89ac03f2038582b4f7d7ce67a8bd642ce3a7f51495579664708fa4598ca28710
MD5 077b18ff881a19a174a2982fdf64de6b
BLAKE2b-256 1769e56a61c6dde753c16d97e04bdb062a7aeba9a243a7abf76cee43b35d5bae

See more details on using hashes here.

Provenance

Supported by

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