{"id":22382,"library":"snakemake-storage-plugin-http","title":"Snakemake Storage Plugin HTTP","description":"Snakemake storage plugin for downloading input files from HTTP(s). Version 0.3.1, released March 2026. Active development, follows Snakemake storage plugin interface.","status":"active","version":"0.3.1","language":"python","source_language":"en","source_url":"https://github.com/snakemake/snakemake-storage-plugin-http","tags":["snakemake","storage-plugin","http","workflow"],"install":[{"cmd":"pip install snakemake-storage-plugin-http","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Core workflow management system; plugin interfaces with Snakemake's storage system","package":"snakemake","optional":false}],"imports":[{"note":"Plugins are separate packages, not part of snakemake core","wrong":"from snakemake.storage.http import StorageProviderHTTP","symbol":"StorageProviderHTTP","correct":"from snakemake_storage_plugin_http import StorageProviderHTTP"}],"quickstart":{"code":"from snakemake_storage_plugin_http import StorageProviderHTTP\n\nprovider = StorageProviderHTTP()\n# Example: retrieve a file from an HTTP URL\n# In a Snakefile, simply use http:// or https:// URLs as input\n# e.g., input: \"https://example.com/data.txt\"\nprint(\"Plugin loaded successfully\")","lang":"python","description":"Basic usage: instantiate the provider. Typically used implicitly via Snakemake's storage plugin mechanism."},"warnings":[{"fix":"Update snakemake-storage-plugin-base: pip install 'snakemake-storage-plugin-base>=4.0'","message":"Version 0.3.0 adapts to interface 4.0 of snakemake-storage-plugin-base. Ensure snakemake-storage-plugin-base is updated to >=4.0.","severity":"breaking","affected_versions":">=0.3.0"},{"fix":"Check the plugin's configuration options to disable automatic decompression if needed.","message":"The plugin may decompress transparently compressed data (e.g., gzip) by default, which can change file contents unexpectedly.","severity":"gotcha","affected_versions":">=0.3.1"},{"fix":"Set environment variable SNAKEMAKE_STORAGE_HTTP_DISABLE_HEAD=true or configure via Snakemake's plugin settings.","message":"If the HTTP server does not support HEAD requests, use the flag to disable HEAD verb (available since 0.3.0). Failing to do so may cause errors when querying file size.","severity":"gotcha","affected_versions":">=0.3.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install snakemake-storage-plugin-http","cause":"Plugin package not installed.","error":"ModuleNotFoundError: No module named 'snakemake_storage_plugin_http'"},{"fix":"Ensure snakemake and snakemake-storage-plugin-base are up-to-date and the plugin is installed. Restart Snakemake.","cause":"Snakemake cannot find the HTTP storage plugin; possibly missing dependency or version mismatch with snakemake-storage-plugin-base.","error":"snakemake.exceptions.WorkflowError: The storage plugin for HTTP is not available."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}