azure-cognitiveservices-vision-customvision
Microsoft Azure Custom Vision Client Library for Python
What it is and what it does
This is the official Python SDK for Microsoft Azure's Custom Vision service, allowing developers to programmatically train image classification and object detection models without writing machine learning code from scratch. The package wraps Azure's REST API, providing client classes for both training (building and managing models) and prediction (running inference on trained iterations). It depends on msrest, azure-common, azure-mgmt-core, and azure-cognitiveservices-vision-nspkg to handle authentication, HTTP communication, and Azure SDK conventions.
The package has been deprecated as of 11-01-2024 and will no longer receive maintenance or feature updates after that date. If you are starting a new project, Microsoft recommends migrating to a newer Azure Vision service SDK. Existing projects using this package will continue to work, but you should plan for eventual migration or accept that you will not receive updates beyond security patches.
Use it for:
- Train a custom image classifier to recognize specific product types in retail inventory photos.
- Build an object detection model to locate and count items in warehouse or manufacturing environments.
- Programmatically manage multiple Custom Vision projects and iterations without using the web portal.
- Export trained models for deployment to edge devices or containers as part of a CI/CD pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to train and deploy custom image classification and object detection models using Microsoft Azure's Custom Vision service.
No—do not install for new projects. The package is deprecated and will receive no maintenance after 11-01-2024. If you have an existing project already using this SDK, it will continue to work, but you should plan a migration to a current Azure Vision SDK. For new work, use a supported Azure SDK or alternative vision service.
Install
azure-cognitiveservices-vision-customvision on PyPI
pip
pip install azure-cognitiveservices-vision-customvisionuv
uv add azure-cognitiveservices-vision-customvisionpoetry
poetry add azure-cognitiveservices-vision-customvisionInstalling azure-cognitiveservices-vision-customvision
Before you install
Low install friction with four stable Azure dependencies. However, the package is deprecated as of 11-01-2024 and will receive only security fixes—no new features or maintenance beyond that date.
License in practice
MIT License permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.
Quickstart
pip install azure-cognitiveservices-vision-customvision
from azure.cognitiveservices.vision.customvision.training import CustomVisionTrainingClient
from msrest.authentication import ApiKeyCredentials
credentials = ApiKeyCredentials(in_headers={"Training-key": "your-key"})
client = CustomVisionTrainingClient(endpoint, credentials)
Requires a valid Azure Custom Vision endpoint URL and API key; credentials must be wrapped in msrest.authentication.ApiKeyCredentials, not passed as a plain string.
Verify before relying
- Whether security fixes will continue to be released after 11-01-2024 or if the package will be completely frozen.
- Whether the deprecated status affects Azure's support for existing projects trained with this SDK.
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msrest, azure-common, azure-mgmt-core, azure-cognitiveservices-vision-nspkg |
| Maintenance | actively maintained — 651 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 108,166/month — #12,571 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_cognitiveservices_vision_customvision-3.1.1-py2.py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
azure-cognitiveservices-vision-computervisionProvides Python bindings to call Microsoft…
permissive · top 15,000 on PyPI
azure-mgmt-imagebuilderManages Azure VM image templates and builds…
unclear · top 5,000 on PyPI
azure-mgmt-cognitiveservicesManages Azure Cognitive Services…
unclear · top 5,000 on PyPI
azure-mgmt-advisorProvides Python bindings to interact with Azure…
unclear · top 5,000 on PyPI
azure-mgmt-subscriptionProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-ai-vision-imageanalysisCalls Azure's Computer Vision service to…
permissive · top 15,000 on PyPI
azure-mgmt-searchManages Azure Cognitive Search services through…
permissive · top 5,000 on PyPI
azure-mgmt-hdinsightManages Azure HDInsight clusters and resources…
unclear · top 5,000 on PyPI
icevisionIceVision provides a unified framework for…
permissive · top 15,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI