Skip to main content

Convenience CLI tools to work with Microsoft Azure.

Project description

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"
logs_dir="user_logs"
config_path="workspace_properties.json"

uv tool install --python 3.11 --prerelease=allow --with pip azure-cli

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

uvx --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

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_tools-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

azure_tools-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file azure_tools-0.1.1.tar.gz.

File metadata

  • Download URL: azure_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for azure_tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c776d82b4426ac1de022c857ecf02b1ee78dea94f84f48b85fd9ea0a72248bed
MD5 739f2a657d1b01202217e562fb9790c1
BLAKE2b-256 6666d116ffd2eb3dca34350781b4c6cafb4191dda8bd433604f996b4121acc2e

See more details on using hashes here.

File details

Details for the file azure_tools-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dfbc6fdebd5801979934b037971b9cc4a0b02bd47e24fad80fadac90a16284e2
MD5 8dfc005fd5d373a622bb6059a8975b47
BLAKE2b-256 3ff2b38691a378c276dfbdb2ac16e8027251855e9057f89e5e1acfc38e3030d8

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