skillfed

azureml-contrib-services

Provides utilities for users which allows for handling of the raw http requests in webservices.

azureml-contrib-services v1.62.0 76.4K downloads/30d#14,628 on PyPI
License unclear Proprietary https://aka.ms/azureml-preview-sdk-license Active released

What it is and what it does

azureml-contrib-services is a utility package from Microsoft's Azure ML platform that extends Flask to handle raw HTTP requests in Azure ML webservices. It allows you to work directly with request objects rather than relying on higher-level abstractions. The package is designed for developers and researchers building machine learning services on Azure, targeting Python 3.8, 3.9, 3.10, and 3.11 across Windows, macOS, and Linux.

The package depends only on Flask, keeping installation lightweight. It is classified as Alpha, indicating it is still under active development and may not have reached stable API status. The proprietary license requires review before use in commercial or redistributed contexts. With 76381 monthly downloads, it has modest adoption within the Azure ML ecosystem.

Use it for:

  • Building custom Azure ML webservices that need direct access to HTTP request headers, body, or metadata.
  • Handling non-standard request formats or protocols in Azure ML inference endpoints.
  • Developing Flask-based microservices deployed through Azure ML's webservice infrastructure.
  • Prototyping ML service request handling before moving to production Azure ML deployments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides utilities for handling raw HTTP requests in Azure ML webservices, built on Flask.

Yes, if you are building webservices on Azure ML and need direct HTTP request handling. The low install friction, active maintenance, and lack of known vulnerabilities make it safe to try. However, the Alpha status and unclear proprietary license mean you should verify the license terms for your use case and be prepared for potential API changes. Not recommended for projects outside the Azure ML ecosystem.

Install

azureml-contrib-services on PyPI

pip

pip install azureml-contrib-services

uv

uv add azureml-contrib-services

poetry

poetry add azureml-contrib-services

Installing azureml-contrib-services

Before you install

Low install friction with a single Flask dependency. Marked as active maintenance with a recent release 170 days ago, though classified as Alpha which may signal ongoing development.

License in practice

Licensed under a proprietary agreement (Proprietary https://aka.ms/azureml-preview-sdk-license). The license treatment is unclear, meaning terms and restrictions are not standardized; review the linked license before using in production or redistribution.

Quickstart

pip install azureml-contrib-services

from flask import Flask
import azureml.contrib.services.aml_request as aml_request

app = Flask(__name__)

@app.route('/score', methods=['POST'])
def score():
    request_body = aml_request.get_request_json()
    return {'result': 'processed'}

Requires Python 3.8 or later (supports 3.8, 3.9, 3.10, 3.11); deployment typically requires Azure ML webservice infrastructure.

Verify before relying

  • What specific HTTP request handling capabilities does this package enable beyond Flask's native support?
  • Are there breaking changes or API stability guarantees given the Alpha classification?
  • What is the relationship between this contrib package and the main azureml SDK?

Package facts

License Proprietary https://aka.ms/azureml-preview-sdk-license (unclear)
Python support supports the current Python release (<4.0,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — Flask
Maintenance actively maintained — 170 days since the last release
First released
Downloads 76,381/month — #14,628 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azureml_contrib_services-1.62.0-py3-none-any.whl

Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial Intelligence

Tags

azure ml webservice http handlingazureml raw request utilitiesflask-based azure ml servicesazure machine learning http requestsazureml contrib webservice tools
azure-mlwebservice-utilities

More Artificial Intelligence packages