azblob-tui
azblob-tui is a dependency-free terminal browser for Azure Blob Storage.
The installed command is abt.
This is an independent community project and is not an official Microsoft product.
Install
uv tool install azblob-tui
Alternatively:
pipx install azblob-tui
Authenticate before starting the TUI:
az login
abt
Scan folder usage
abt scan performs a metadata-only scan, aggregates folder depths in one pass,
and writes resumable SQLite checkpoints:
abt scan \
--subscription <subscription-id> \
--all \
--max-depth 3
AML per-snapshot UUID Containers are excluded by default. Reusing the same
--state resumes continuation markers, skips completed Containers, and retries
failed or interrupted Containers. Progress is written to abt-scan.log by
default and can be displayed live by the TUI. Scan files are stored under
${XDG_STATE_HOME:-~/.local/state}/azblob-tui/scans/<subscription-id>/, so
their location does not depend on the shell working directory.
abt
Explicit --state, --output, and --log paths have highest priority.
Otherwise, abt uses the paths last saved for the subscription, then recognizes
legacy scan files in the current directory, and finally uses the subscription
default directory.
Features:
- Select an Azure subscription and Storage Account inside the TUI.
- Remember the selected subscription between launches.
- Cache Storage Accounts and AML workspace mappings for 10 days; press
ron the account screen to refresh immediately andSto change subscription. - Hide Azure ML per-snapshot UUID containers by default.
- Toggle soft-deleted Containers and Blobs with
x; show deletion time, remaining retention days, and Container/Blob version identifiers. - Restore a selected soft-deleted Container or Blob with uppercase
Rand typed confirmation. HNS path restore uses the Azure-provided deletion ID. - Search accounts, containers, and the current Blob page.
- Browse virtual folders with paginated
List Blobsrequests. - Coalesce short Azure service pages caused by partition boundaries into one logical TUI page, so immediate-child folder totals are complete.
- View Blob size, type, access tier, timestamps, ETag, URL, and metadata.
- Read optional usage/status data from
blob_folder_usage.pySQLite state. - Show live queue metrics only in the lower-right panel and provide an
auto-refreshing per-account statistics screen (
s). - Adapt table columns to the terminal width.
- Sort each screen by cycling columns with
oand toggling direction withO. - Keep selected-item metadata in the upper-right pane and live queue metrics in the lower-right pane.
- Show scanner-provided depth 1-3 folder sizes and human-readable Blob counts.
- Use
qto go back,hfor full help, andCtrl+Cto exit. - Scroll extended Blob properties and metadata with
[/]. - Delete an individual Blob or Container with
Dand typed confirmation. Partial/in-progress scanner Containers are protected from deletion. - Restore soft-deleted items with
R; restoring requires Storage Blob Data Contributor or equivalent permissions.
Configuration is stored under ${XDG_CONFIG_HOME:-~/.config}/azure-blob-tui.
Noncredential resource metadata is cached under
${XDG_CACHE_HOME:-~/.cache}/azure-blob-tui. Access tokens are never persisted
by this application.
The lower-right queue panel uses the latest Progress: record from
--scan-log for live processed, active, failed, Blob, page, size, rate, and
elapsed-time values. The per-account statistics table uses SQLite checkpoints,
so it can lag the live log by up to one checkpoint interval.
Run from source
PYTHONPATH=src python -m azure_blob_tui
Open a known account directly:
PYTHONPATH=src python -m azure_blob_tui \
--subscription <subscription-id> \
--account <storage-account>
Show live scanner queue statistics:
PYTHONPATH=src python -m azure_blob_tui \
--state ../blob-folder-usage-depth1-3.sqlite \
--scan-log ../blob-folder-usage-depth1-3-scan.log
Architecture
azure.py: Azure CLI catalog, subscriptions, accounts, workspace mappings, and token lifecycle.blob.py: paginated Blob REST client and response parsing.state.py: optional scanner-state integration.stats.py: read-only real-time queue statistics.scan_paths.py: subscription-aware scan path resolution and legacy fallback.table.py: terminal-width-aware column fitting and rendering.ui.py: curses navigation and screens.cli.py: argument parsing and application assembly.
Keyboard shortcuts are available with h or ?.
Safety
Browsing is read-only. Deletion is available only through the uppercase D
shortcut and requires typed confirmation. Blob deletion uses the displayed
ETag to reject changes made after the page was loaded. Ambiguous network
responses from delete or restore operations are never retried automatically.
License
MIT
Metadata
Release files for azblob-tui 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azblob_tui-0.4.0.tar.gz | 42.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azblob_tui-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.8 kB
Release files / azblob_tui-0.4.0.tar.gz
| Download URL | azblob_tui-0.4.0.tar.gz |
|---|---|
| Size | 42.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8475e8c28cb8aaf2dbcb91d11bd43b40da19799abc01f5ce92719e15861875ee
|
|
BLAKE2b-256 checksum How to use checksums |
306dc28e0908b3b4c0ea28a1d6a4fa60f60f76f3644f848532a968a7e19bdb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / azblob_tui-0.4.0-py3-none-any.whl
| Download URL | azblob_tui-0.4.0-py3-none-any.whl |
|---|---|
| Size | 43.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd66072f40f279e097fe92bab55285bb6542716135c924bcc410931b76076bc7
|
|
BLAKE2b-256 checksum How to use checksums |
e2c5f35d1197a6d8f9c8a5066336b039dea4892370003cd1bc791ff691252e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log