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.0.tar.gz (4.2 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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: azure_blob_run-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.0.tar.gz
Algorithm Hash digest
SHA256 5c2173ce09cf05293259866487f7093e0b63e40c13c2df263019dda662870f05
MD5 05e447ac8070e13d7cbee8b4e8ef0bff
BLAKE2b-256 ac959ddcf96b88e6daffc7fa25b8324c68fb08073e57569e02e7c522d24548cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: azure_blob_run-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dd352a4ed4379d970c9986888e6c1a4fbd92a4ff11fc6135c8679a6fbbc8c67
MD5 0a1efa6e9fa4b116f2065138fec2fbac
BLAKE2b-256 5c9bcc008f0176394a33d9f2192030a0b0a24efab8a6359ced0c94aa96937f4e

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