为poetry添加特定于Snakemake的功能的插件。
项目描述
poetry-snakemake-plugin
为poetry添加特定于Snakemake的功能的插件。目前它支持为新Snakemake executor插件 和 storage插件 构建源代码。它的工作原理如下。
构建executor插件
假设您想创建一个名为 snakemake-executor-plugin-myfancyexecutor
的snakemake executor插件。
# 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.
构建storage插件
假设您想创建一个名为 snakemake-storage-plugin-myfancystorage
的snakemake storage插件。
# 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.
构建report插件
假设您想创建一个名为 snakemake-report-plugin-myfancyreport
的snakemake report插件。
# Install poetry plugin via
poetry self add poetry-snakemake-plugin
# 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.
项目详情
下载文件
下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
poetry_snakemake_plugin-0.4.0.tar.gz (9.6 kB 查看散列)
构建分布
关闭
poetry_snakemake_plugin-0.4.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 631c079773e02088cd0dc961074bf60d488015854e75529e4c31d3bf8cbbbd1a |
|
MD5 | b550272bea69b61933d1fdcd17e4679d |
|
BLAKE2b-256 | e81e889a145ad7388b2895dc05a5573aa7ace69b74f0803e853aa8c76ab97868 |
关闭
poetry_snakemake_plugin-0.4.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | fdb400447592eeda384da7a2d06157d7624394c90656cd6e92e173d2024d345c |
|
MD5 | fc420d87acc1db87c2f7b8ec0912b8ba |
|
BLAKE2b-256 | 6755c4004a1fbd42023fba28f41760ee33b9f5a35e5ea84ef5d10852e8a1b35d |