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

Uploaded Python 3

File details

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

File metadata

  • Download URL: azure_tools-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c5d1c8c6038c83acb2661cd6a5ae039ab98d672123f7f52fefb4f19b765dcdda
MD5 14d7ef7b78ba6f59b15f423442c65230
BLAKE2b-256 05f7b392d78e27bade3ade632875e27262cd52ca8f2fd0d41e9d428c2655fd15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c92a70b27b0bb3bdb9105116ca95a911d33fb0526c233b7e8a314862cc9bd4a4
MD5 668c919ec9030b2d23ed965fbe7ed4e1
BLAKE2b-256 211092dd7945f62a95e8023d38508c320bada596f6f11d8360ad0a95b528545d

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