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 --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.2.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.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: azure_tools-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6646de5bea700243e98b48933ce0c321d7bbc729397c30603e020460f6f49498
MD5 08706ffb86057797e0ef15aa4f6ff6a2
BLAKE2b-256 2a6ca3e6ac6aa294ee69510b2209f4975f8f7ed84d09f197007c90b5a96876a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_tools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 060e107737609d613ddf56dd6dd0dbb6b8d5ec62524de5ba8adfe7ecf42b0ea0
MD5 fe5b74e67dd7af89b9f63a5be2a03293
BLAKE2b-256 a562f41d2cb3e5dd9dc3c9334df0d2c52a30a43f1420c1761ad3ff9ed498fff3

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