Skip to main content

Run Azure Blob Object

Project description

Azure-Blob-Run

PyPI version Python Version License

Execute scripts stored in Azure Blob Storage with local caching. Perfect for distributing compiled executables (Rust/Go/WASM) across services without environment dependencies.

Installation

pip install azure-blob-run

Quick Start

import azure_blob_run

# Execute a script from Azure Blob Storage
result = azure_blob_run.run(
    "https://mystorageaccount.blob.core.windows.net/mycontainer/myscript.sh",
    "arg1",
    "arg2",
    "--flag"
)
print(result)

The script is automatically downloaded and cached locally on first run.

Configuration

Set these environment variables:

export AZURE_BLOB_RUN_CONNECTION_STRING="DefaultEndpointsProtocol=https;..."
export AZURE_BLOB_RUN_CONTAINER_NAME="mycontainer"
export AZURE_BLOB_RUN_CACHE_PATH="./.cache"  # Optional, defaults to ./.cache

License

MIT License

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

azure_blob_run-0.1.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

azure_blob_run-0.1.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file azure_blob_run-0.1.3.tar.gz.

File metadata

  • Download URL: azure_blob_run-0.1.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Darwin/25.0.0

File hashes

Hashes for azure_blob_run-0.1.3.tar.gz
Algorithm Hash digest
SHA256 172154499dc705e214d435350083da02a21e66d5d86ed7a767362b0a0db12440
MD5 5d02f9eb910ce9ee02e1eadc40268787
BLAKE2b-256 9ad552d95c1ba7c9e663155a91f3c4814d55c20a59903593453a96762c1038f8

See more details on using hashes here.

File details

Details for the file azure_blob_run-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: azure_blob_run-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Darwin/25.0.0

File hashes

Hashes for azure_blob_run-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7443afe15b216b74d03c04650d3d0bdb0cd49f175b307a1a6efffc33c959d793
MD5 8028eb4e18597592ec3acbdc61f4406f
BLAKE2b-256 1117ca9dc23fdc2f7c87d6a535f5d44fb8e6795c830b4706af972d4f0c3a8226

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