Skip to main content

Azure Queue Storage

Installation

pip install queue-az

Authorization

The required connection string can be obtained from the Azure Portal, within the Storage account, "Access keys" tab

Environment (.env)

For convenience, you can set os.environ["BLOB_CONN_STR"]. If you do, you can skip specifying it on every call.

E.g., create a .env file:

BLOB_CONN_STR="<BLOB_CONN_STR>"

Then load it before importing

from dotenv import load_dotenv
load_dotenv()
import queue_az as qz

qz.client() # just works!

API

  • Asynchronous (everything is a coroutine)
  • Single calls or multiple using a same client:
    # single call
    await qz.list.containers(conn_str=CONN_STR) # ain't necessary with a .env file
    
    # multiple calls
    async with qz.client() as client:
      queues = await qz.list(client=client)
      for q in queues:
        print(await qz.msg.list(q, client=client))
    

Functions

queue_az
  def client(...) -> QueueServiceClient
  async def create(...)
  async def delete(...)
  async def list(...)
  msg
    async def send(...)
    async def pop(...)
    async def list(...)

Metadata

Release files for queue-az 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for queue-az 0.1.0
File Size Uploaded
queue-az-0.1.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for queue-az 0.1.0
File Interpreter ABI Platform
queue_az-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / queue-az-0.1.0.tar.gz

Download URL queue-az-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
02d29873a7e8aa75d8ab6d70479669a59a6c2c9e8e1daed91cfc338c1a07e01e
BLAKE2b-256 checksum
How to use checksums
b7ee8bd273fd34527a6e2282f77c2960d946d925196065405c990369b29a46c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release files / queue_az-0.1.0-py3-none-any.whl

Download URL queue_az-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945666fdb422cb4485d365eebf7061c584926f07e8c9f5f4da0a53b5b9fbd067
BLAKE2b-256 checksum
How to use checksums
02e6a4c5dcbdfd655c6097c4ce372ad586488767c3b72333a69a17e9770c6b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page