skops
A set of tools, related to machine learning in production.
What it is and what it does
Skops is a Python library that solves the problem of safely sharing and deploying scikit-learn models in production. It provides two main tools: skops.io for secure, pickle-free serialization of estimators, and skops.card for generating model cards that document what a model does and how it should be used. The library is built on top of numpy, scipy, scikit-learn, and packaging, and targets developers and researchers who need to move trained models from development into production environments or share them on platforms like Hugging Face Hub.
The package is actively maintained, supports Python 3.9 through 3.14, and runs on macOS, Windows, and Unix-like systems. It is classified as Beta-stage software and sits in the top 5000 PyPI packages by download volume. The core value proposition is avoiding pickle's security risks while providing a standardized way to document and version models alongside their serialized artifacts.
Use it for:
- Serialize a trained estimator to disk without pickle, then load and deploy it in a web service.
- Generate a model card documenting a model's performance, intended use, and limitations for sharing.
- Store multiple pipeline versions securely in a model registry without trusting pickle deserialization.
- Create reproducible model documentation that includes training data summaries and evaluation metrics.
- Share a trained model with collaborators in a format that is both human-readable and secure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Skops provides secure persistence and model card generation for scikit-learn estimators, enabling you to save trained models without pickle and document them for production deployment.
Yes, if you work with scikit-learn models in production or need to share them. The low-friction install, active maintenance, and pickle-free persistence address real security and reproducibility concerns. Verify the license before use in proprietary contexts, as it is currently marked unclear in the metadata.
Install
skops on PyPI
pip
pip install skopsuv
uv add skopspoetry
poetry add skopsInstalling skops
Before you install
Low friction installation with five runtime dependencies (numpy, packaging, prettytable, scikit-learn, scipy). The project is actively maintained with recent commits and a stable release cadence.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before using in proprietary or restricted contexts.
Quickstart
pip install skops
import skops.io as sio
model_data = {'trained_model': 'example'}
sio.dump(model_data, 'model.skops')
Requires Python 3.9 or later and scikit-learn as a runtime dependency.
Verify before relying
- Exact license identifier and terms—metadata shows 'unclear' treatment with no SPDX or raw license field populated.
- Whether model cards generated by skops.card are compatible with all Hugging Face Hub model metadata schemas.
- Performance overhead or compatibility constraints when persisting complex pipelines with custom transformers.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — numpy, packaging, prettytable, scikit-learn, scipy |
| Maintenance | actively maintained — 116 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 19,962,838/month — #1,049 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: skops-0.14.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
sklearndfWraps scikit-learn estimators to return pandas…
permissive · top 15,000 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
scikit-learn-stubsProvides type stubs for scikit-learn to enable…
permissive · top 15,000 on PyPI
pypicklepypickle wraps Python's pickle module to save…
permissive · top 15,000 on PyPI
sklearn-crfsuitesklearn-crfsuite wraps CRFsuite (Conditional…
permissive · top 15,000 on PyPI
sklearn2pmmlConverts fitted Scikit-Learn pipelines to PMML…
agpl · top 15,000 on PyPI
scikerasSciKeras wraps Keras models to work with…
permissive · top 15,000 on PyPI
sagemaker-scikit-learn-extensionExtends scikit-learn with additional estimators…
permissive · top 15,000 on PyPI
skfolioskfolio is a Python library for portfolio…
permissive · top 15,000 on PyPI
scikit-learn-extraExtends scikit-learn with additional machine…
permissive · top 15,000 on PyPI