Skip to main content

Some tools for Azure Machine Learning

uv tool install git+https://github.com/fepegar/azure-tools
uvx aml download
uvx aml snapshot

Examples

Download and show user logs from a run

run_id="khaki_jelly_s70lr4lk7b"
config_path="workspace_properties.json"

# Default directory where logs are saved
logs_dir="user_logs"

uv tool install --python "<3.13" --prerelease=allow --with pip azure-cli
uvx az extension remove --name ml
uvx az extension add --name ml

config_query='{resource_group: .resource_group, workspace_name: .name, subscription_id: (.id | split("/")[2])}'
uvx az ml workspace show | uvx jq --raw-output $config_query > $config_path
cat $config_path

# We need to specify the Python version because uv's resolver ignores upper
# bounds for Python version in pyproject.toml
# https://docs.astral.sh/uv/reference/resolver-internals/#requires-python
# and azureml.core._metrics breaks for Python >= 3.13
uvx --python "<3.13" --from azure-tools \
    aml download \
        --config $config_path \
        --run-id $run_id \
        --source-aml-path $logs_dir \
        --convert-logs

uvx --from toolong tl $run_id/$logs_dir/*.log

Metadata

Release files for azure-tools 0.1.3

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

Source distribution (sdist)

Source distribution for azure-tools 0.1.3
File Size Uploaded
azure_tools-0.1.3.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-tools 0.1.3
File Interpreter ABI Platform
azure_tools-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / azure_tools-0.1.3.tar.gz

Download URL azure_tools-0.1.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ddf47e7d65b8de626f2e07de7b0ed0c80b6cd05652b78394e9379f8793b01f5b
BLAKE2b-256 checksum
How to use checksums
9c29439455c43145b0baec1a608f85796f54f159c968a907f569176791570818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release files / azure_tools-0.1.3-py3-none-any.whl

Download URL azure_tools-0.1.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51b8f1b88266e42ea1dbc7faee9dded4311a1fbd3e48b7bb8d6b35c3bf45fe23
BLAKE2b-256 checksum
How to use checksums
bc1515d823418a2fe42de7235ba4b187f9bd9c97cf26d6f7ab37e217c150d340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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