snakemake-storage-plugin-azure 0.2.2
pip install snakemake-storage-plugin-azure==0.2.2
Released:
A Snakemake storage plugin to read and write from Azure Blob Storage
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Jake VanCampen
- Tags snakemake , plugin , storage , azure
- Requires: Python <4.0, >=3.11
Classifiers
- License
- Programming Language
Project description
Snakemake Storage Plugin Azure
Azure Blob Storage plugin for snakemake. For documentation and usage instructions, see the Snakemake Plugin Catalog.
Testing
Testing this plugin locally require the azurite storage emulator to be running locally. This can be setup using the following docker run command:
docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0
Then execute the tests:
poetry run coverage run -m pytest tests/tests.py
Example
The below example Snakefile and command will stream a file, test.txt, containing the text "Hello, World" to the azure blob: https://account.blob.core.windows.net/container/test.txt
rule touch:
output: "test.txt"
shell:
"echo 'Hello, World!' > {output}"
Command:
The storage account and container that the output file is streamed to is specified using the default-storage-prefix.
snakemake -j1 \
--default-storage-provider azure \
--default-storage-prefix "az://container"
--storage-azure-endpoint-url https://account.blob.core.windows.net \
--verbose
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Jake VanCampen
- Tags snakemake , plugin , storage , azure
- Requires: Python <4.0, >=3.11
Classifiers
- License
- Programming Language
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 snakemake_storage_plugin_azure-0.2.2.tar.gz
.
File metadata
- Download URL: snakemake_storage_plugin_azure-0.2.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
df1f5740005dcdbe765f3f6c1b52b657dacaa5177a7a6e981a00aa5f5f2b0be7
|
|
MD5 |
7f78d9faa02bc3d50cc440e790f03806
|
|
BLAKE2b-256 |
49f9bcd861b7a4bde0035227cdaf6892c29fbf1d38cf0ab1c8a95a5b4bd3e5d0
|
File details
Details for the file snakemake_storage_plugin_azure-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: snakemake_storage_plugin_azure-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6fdaa0a0014cceb48dd581b681c98d5a9fc3a70cddd0d23b752973c04b7de8f2
|
|
MD5 |
37dd0a6eb37b062311f7246745ec1505
|
|
BLAKE2b-256 |
d2f04973d815a958b7e4ac0e4ec598ae019991a1a6c028e48393a37deed021fc
|