ibm-watson-machine-learning
IBM Watson Machine Learning API Client
What it is and what it does
ibm-watson-machine-learning is a Python SDK for interacting with IBM's Watson Machine Learning service on IBM Cloud and IBM Cloud Pak for Data. It provides APIs to train, test, and deploy machine learning models as callable endpoints for application integration and team collaboration. The library wraps HTTP interactions with the Watson ML backend, handling authentication and model lifecycle management through a Python interface.
The package is currently in deprecation mode as of June 2024, with IBM recommending migration to ibm-watsonx-ai for new projects. It depends on common HTTP and data-handling libraries (requests, urllib3, pandas, ibm-cos-sdk) and is maintained at production-stable status, though no releases have shipped in over a year.
Use it for:
- Deploy trained machine learning models as REST APIs on IBM Cloud for integration into production applications.
- Manage model versioning, testing, and promotion workflows within IBM Cloud Pak for Data environments.
- Share trained models with team members and collaborate on model evaluation and refinement.
- Automate model training and evaluation pipelines using Python scripts on IBM Cloud infrastructure.
- Integrate Watson ML service capabilities into Python data science workflows without direct REST calls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for IBM Watson Machine Learning service, enabling model training, testing, and deployment as APIs on IBM Cloud and IBM Cloud Pak for Data.
No, unless you are maintaining existing code already using this package. The library is in active deprecation mode (since June 2024) with IBM explicitly recommending migration to ibm-watsonx-ai. New projects should adopt ibm-watsonx-ai instead. Existing users should plan migration using IBM's published guides.
Install
ibm-watson-machine-learning on PyPI
pip
pip install ibm-watson-machine-learninguv
uv add ibm-watson-machine-learningpoetry
poetry add ibm-watson-machine-learningInstalling ibm-watson-machine-learning
Before you install
Low install friction with a pure-Python wheel and common dependencies. However, maintenance status is aging—the package entered deprecation mode starting with IBM Cloud Pak for Data 5.0.x (June 2024), with the project recommending migration to ibm-watsonx-ai.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install ibm-watson-machine-learning
from ibm_watson_machine_learning import APIClient
client = APIClient(credentials)
Requires Python 3.10 or later (capped below 3.13); IBM Cloud credentials and active Watson Machine Learning service instance required.
Verify before relying
- Specific model types and frameworks supported by the library beyond general training/testing/deployment capability.
- Whether the package is still receiving security patches or only in maintenance mode pending full deprecation.
- Compatibility and migration path details for users currently on ibm-watson-machine-learning moving to ibm-watsonx-ai.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | capped below the current Python release (<3.13,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — requests, urllib3, pandas, certifi, lomond, tabulate, packaging, ibm-cos-sdk, importlib-metadata |
| Maintenance | aging — 415 days since the last release |
| First released | |
| Downloads | 1,016,134/month — #4,501 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ibm_watson_machine_learning-1.0.368-py3-none-any.whl
Keywords: watson, machine learning, IBM, Bluemix, client, API, IBM Cloud
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
ibm-watsonx-aiOfficial Python SDK for IBM watsonx.ai that…
permissive · top 5,000 on PyPI
ibm-cos-sdk-coreProvides a low-level Python interface to IBM…
permissive · top 5,000 on PyPI
ibm-vpcPython client library for programmatically…
permissive · top 15,000 on PyPI
ibm-cos-sdkPython SDK for interacting with IBM Cloud…
permissive · top 5,000 on PyPI
ibm-platform-servicesPython client library for IBM Cloud Platform…
permissive · top 5,000 on PyPI
hopsworksPython SDK for connecting to Hopsworks clusters…
permissive · top 15,000 on PyPI
ibm-secrets-manager-sdkA Python client library for programmatically…
permissive · top 15,000 on PyPI
azureml-sdkProvides a Python SDK to build, train, and…
unclear · top 15,000 on PyPI
llama-index-embeddings-ibmIntegrates IBM watsonx.ai embedding models with…
permissive · top 15,000 on PyPI
lightning-cloudProvides a Python client for interacting with…
permissive · top 15,000 on PyPI