Registry / azure / azureml

azureml

JSON →
library0.2.7pypypi✓ verified 83d ago

Legacy Microsoft Azure Machine Learning Python client library (v0.2.7). This package is deprecated and superseded by the Azure ML SDK v2 (`azure-ai-ml`). It interacts with Azure ML workspaces and experiments via the older REST API. Expect no further updates; users should migrate to the modern SDK.

pip install azureml==0.2.7
INSTALL
IMPORT
SIG · AZUREML
A
azureml
azurepythonv0.2.7
Install
8.1s avg
Import
Disk
167MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.7 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 167.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 8.1s · import 0.000s · 160MB
167MB installed
● package 167MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Workspace
from azureml import Workspace
from azureml import AzureMLClient

Creates client and lists experiments. Note: this library is deprecated; use azure-ai-ml for new projects.

from azureml import AzureMLClient import os workspace_id = os.environ.get('WORKSPACE_ID', '') authorization_token = os.environ.get('AUTHORIZATION_TOKEN', '') if not workspace_id or not authorization_token: print('Set WORKSPACE_ID and AUTHORIZATION_TOKEN env vars') else: client = AzureMLClient(workspace_id, authorization_token) experiments = client.get_experiments() print(experiments)
Debug
Known issues
deprecatedThe azureml package (v0.2.7) is deprecated. All development and bug fixes have ceased. Use the modern Azure ML SDK v2 (`azure-ai-ml`) instead.
fix
pip install azure-ai-ml and migrate code to use azure.ai.ml.*
affects: all
breakingThe package name 'azureml' was replaced in later SDK versions. Installing 'azureml' may conflict with newer packages.
fix
Uninstall azureml and use azure-ai-ml or azureml-sdk.
affects: azuresdk v1+
gotchaThe old client only supports Workspace ID and Authorization Token authentication. It does not support AAD or Managed Identity.
fix
Use azure-ai-ml with azure.identity.DefaultAzureCredential() for modern auth.
affects: 0.x
Upgrade
Version history
0.2.7latest on PyPI · released Mar 14, 2016
Audit
Dependencies
azurerequiredRequired for Azure authentication and storage operations.
requestsrequiredUsed for HTTP calls to Azure ML REST API.
Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources
azureml — pip install azureml · libregistry