coremltools 9.0


pip install coremltools

  Latest version

Released: Nov 10, 2025

Project Links

Meta
Author: Apple Inc.

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Operating System
  • MacOS :: MacOS X
  • POSIX :: Linux

Programming Language
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Topic
  • Scientific/Engineering
  • Software Development

Core ML is an Apple framework that allows developers to easily integrate machine learning (ML) models into apps. Core ML is available on iOS, iPadOS, watchOS, macOS, and tvOS. Core ML introduces a public file format (.mlmodel) for a broad set of ML methods including deep neural networks (convolutional and recurrent), tree ensembles (boosted trees, random forest, decision trees), and generalized linear models. Core ML models can be directly integrated into apps within Xcode.

coremltools is a python package for creating, examining, and testing models in the .mlmodel format. In particular, it can be used to:

  • Convert trained models from popular machine learning tools into Core ML format (.mlmodel).

  • Write models to Core ML format with a simple API.

  • Making predictions using the Core ML framework (on select platforms) to verify conversion.

More Information

License

Copyright (c) 2020, Apple Inc. All rights reserved.

Use of this source code is governed by the 3-Clause BSD License that can be found in the LICENSE.txt file.

Extras: None
Dependencies:
numpy (>=1.14.5)
protobuf (>=3.1.0)
sympy
tqdm
packaging
attrs (>=21.3.0)
cattrs
pyaml