Skip to main content

Interactive web tool to visualize Azure Availability Zone logical-to-physical mappings across subscriptions

Project description

az-mapping

Visualize how Azure maps logical Availability Zones to physical zones across your subscriptions.

Different subscriptions may map the same logical zone (e.g. Zone 1) to different physical datacenters. This tool lets you compare them side-by-side.

Quick start

# Make sure you are authenticated to Azure
az login

# Run the tool (no install required)
uvx az-mapping

Your browser opens automatically at http://127.0.0.1:5001.

CLI options

az-mapping [OPTIONS]

  --host TEXT     Host to bind to.  [default: 127.0.0.1]
  --port INTEGER  Port to listen on.  [default: 5001]
  --no-open       Don't open the browser automatically.
  -v, --verbose   Enable verbose logging.
  --help          Show this message and exit.

Alternative install

pip install az-mapping
az-mapping

Prerequisites

Requirement Details
Python ≥ 3.11
Azure credentials Any method supported by DefaultAzureCredential (az login, managed identity, …)
RBAC Reader on the subscriptions you want to query

Features

  • Region selector – AZ-enabled regions, loaded automatically.
  • Subscription picker – searchable, multi-select.
  • Collapsible sidebar – toggle the filter panel to maximize the results area.
  • Graph view – D3.js bipartite diagram (Logical Zone → Physical Zone), colour-coded per subscription with interactive hover highlighting.
  • Table view – comparison table with consistency indicators.
  • Export – download the graph as PNG or the table as CSV.
  • Shareable URLs – filters are reflected in the URL; reload or share a link to restore the exact view.

How it works

The backend calls the Azure Resource Manager REST API (2022-12-01) to fetch availabilityZoneMappings from the /subscriptions/{id}/locations endpoint. The frontend renders the results as an interactive graph and table.

License

MIT

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

az_mapping-2026.2.0.tar.gz (90.0 kB view details)

Uploaded Source

Built Distribution

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

az_mapping-2026.2.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file az_mapping-2026.2.0.tar.gz.

File metadata

  • Download URL: az_mapping-2026.2.0.tar.gz
  • Upload date:
  • Size: 90.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for az_mapping-2026.2.0.tar.gz
Algorithm Hash digest
SHA256 b7f24482facdd87fb72abec7c7b9781ea494343ebc66e75036198611be035b29
MD5 d38a99130e90a3e4258191ecdae4627e
BLAKE2b-256 964c3ffd1d8ee8a82d74cbb9c6e9f3877a5fc31f4dfc7208670687cd636af989

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_mapping-2026.2.0.tar.gz:

Publisher: publish.yml on lrivallain/az-mapping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file az_mapping-2026.2.0-py3-none-any.whl.

File metadata

  • Download URL: az_mapping-2026.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for az_mapping-2026.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10de6e307d6a7df0655a7a98f93258603eba6db8aa5ad5139079792e598383eb
MD5 e0f35e541f74b95c40b8f35430bc4ff9
BLAKE2b-256 ca84bda6c76ca92cccd7301a9d7d38e50eb76952928f4b48d6cd90659ba89f3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_mapping-2026.2.0-py3-none-any.whl:

Publisher: publish.yml on lrivallain/az-mapping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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