comet-ml
Supercharging Machine Learning
What it is and what it does
Comet ML is a cloud-based experiment tracking service that integrates into Python scripts to automatically log training runs, hyperparameters, metrics, and code. It wraps your existing machine learning workflow with minimal code changes—typically just instantiating an Experiment object with an API key—and sends all captured data to a centralized dashboard where you can compare runs, visualize results, and manage experiment history.
The package depends on common utilities like requests, rich, jsonschema, and sentry-sdk to handle HTTP communication, formatted output, validation, and error reporting. It's designed to work with any Python script and claims to have built-in support for popular ML libraries, automatically capturing their hyperparameters and metrics without explicit instrumentation. The service solves the problem of experiment results being lost or forgotten by providing a persistent, queryable record of every training run.
Use it for:
- Track and compare hyperparameter tuning experiments across multiple model training runs to identify the best configuration.
- Automatically log stdout, stderr, and code from long-running training jobs for reproducibility and debugging.
- Centralize metrics and model performance data from distributed training across different machines or cloud environments.
- Version control experiment metadata and results for regulatory compliance or research publication.
- Monitor training progress in real-time via a web dashboard while scripts run on local or remote hardware.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Comet ML is an experiment tracking and logging platform that automatically captures scripts, output, code, and metrics from machine learning workflows and sends them to a cloud dashboard for centralized monitoring and comparison.
Yes, if you run machine learning experiments and want centralized tracking without heavy instrumentation. The low install friction, permissive MIT license, active maintenance, and no known vulnerabilities make it a safe choice. The main condition is willingness to sign up for a Comet.ml account and use their cloud service; if you need fully on-premise or offline experiment tracking, this is not the right tool.
Install
comet-ml on PyPI
pip
pip install comet-mluv
uv add comet-mlpoetry
poetry add comet-mlInstalling comet-ml
Before you install
Low install friction with a pure Python wheel and 16 well-established runtime dependencies. Actively maintained with a release 29 days ago. Supports Python 3.8 through 3.12.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install comet-ml
from comet_ml import Experiment
experiment = Experiment(api_key="YOUR_API_KEY")
# Your training code here
Requires a free Comet.ml account and API key from https://www.comet.com to send data to the cloud dashboard.
Verify before relying
- Exact scope of automatic logging (which frameworks and libraries are 'supported' beyond generic stdout/stderr capture)
- Whether the package works offline or requires continuous cloud connectivity during training
- Data retention policies and storage limits for free accounts
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 16 — dulwich, everett, importlib-metadata, jsonschema, psutil, python-box, requests-toolbelt, requests, rich, semantic-version, sentry-sdk, setuptools, simplejson, urllib3, wrapt, wurlitzer |
| Maintenance | actively maintained — 29 days since the last release |
| First released | |
| Downloads | 768,668/month — #5,110 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: comet_ml-3.58.4-py3-none-any.whl
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
aimAim logs training runs and AI metadata, then…
permissive · top 15,000 on PyPI
azureml-mlflowIntegrates MLflow experiment tracking and model…
permissive · top 5,000 on PyPI
wandbwandb is a machine learning experiment tracking…
permissive · top 1,000 on PyPI
model-indexMaintains a structured index of machine…
permissive · top 15,000 on PyPI
trackioTrackio is a local-first experiment tracking…
permissive · top 15,000 on PyPI
clearmlClearML is an ML/DL development and production…
permissive · top 15,000 on PyPI
neptune-scaleNeptune-scale is a Python client library for…
permissive · top 5,000 on PyPI
azureml-telemetryCollects telemetry data from Python code by…
unclear · top 15,000 on PyPI
arthur-clientPython SDK for integrating machine learning…
permissive · top 15,000 on PyPI
dvc-studio-clientClient library for posting experiment metrics,…
permissive · top 5,000 on PyPI