Description
.. -*- mode: rst -*- |readthedocs| |github-actions| |Codecov| |PyPI| |Black| .. |readthedocs| image:: https://readthedocs.org/projects/skops/badge/?version=latest&style=flat :target: https://skops.readthedocs.io/en/latest/ :alt: Documentation .. |github-actions| image:: https://github.com/skops-dev/skops/workflows/pytest/badge.svg :target: https://github.com/skops-dev/skops/actions :alt: Linux, macOS, Windows tests .. |Codecov| image:: https://codecov.io/gh/skops-dev/skops/branch/main/graph/badge.svg :target: https://codecov.io/gh/skops-dev/skops :alt: Codecov .. |PyPI| image:: https://img.shields.io/pypi/v/skops :target: https://pypi.org/project/skops :alt: PyPi .. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Black .. image:: https://raw.githubusercontent.com/skops-dev/skops/main/docs/images/logo.png :width: 500 :target: https://skops.readthedocs.io/en/latest/ SKOPS ===== ``skops`` is a Python library helping you share your `scikit-learn <https://scikit-learn.org/stable/>`__ based models and put them in production. At the moment, it includes `skops.io` to securely persist sklearn estimators and more, without using ``pickle``. It also includes `skops.card` to create a model card explaining what the model does and how it should be used. - ``skops.io``: Secure persistence of sklearn estimators and more, without using ``pickle``. Visit `the docs <https://skops.readthedocs.io/en/latest/persistence.html>`__ for more information. - ``skops.card``: tools to create a model card explaining what the model does and how it should be used. The model card can then be stored as the ``README.md`` file on the Hugging Face Hub, with pre-populated metadata to help Hub understand the model. More information can be found `here <https://skops.readthedocs.io/en/stable/model_card.html>`__. Please refer to our `documentation <https://skops.readthedocs.io/en/latest/>`_ on using the library as user, which includes user guides on the above topics as well as complete examples explaining how the features can be used. If you want to contribute to the library, please refer to our `contributing <CONTRIBUTING.rst>`_ guidelines. Installation ------------ You can install this library using: .. code-block:: bash python -m pip install skops Bug Reports and Questions ------------------------- Please send all your questions and report issues on `this repository's issue tracker <https://github.com/skops-dev/skops/issues>`_ as an issue. Try to look for existing ones before you create a new one.
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 0.14.0 | Imported from PyPI (0.14.0) | Low | 4/21/2026 |
| v0.13.0 | ## What's Changed * MNT post release changes by @adrinjalali in https://github.com/skops-dev/skops/pull/484 * Bump prefix-dev/setup-pixi from 0.8.12 to 0.8.14 by @dependabot[bot] in https://github.com/skops-dev/skops/pull/486 * ENH harden Card by adding a flag to allow/disallow insecure pickle loading by @io-no in https://github.com/skops-dev/skops/pull/485 ## New Contributors * @io-no made their first contribution in https://github.com/skops-dev/skops/pull/485 **Full Changelog**: http | Low | 8/6/2025 |
| v0.12.0 | ## What's Changed * MNT bump version by @adrinjalali in https://github.com/skops-dev/skops/pull/455 * MNT add funding file to apply to floss.fund by @adrinjalali in https://github.com/skops-dev/skops/pull/456 * MNT fix link by @adrinjalali in https://github.com/skops-dev/skops/pull/457 * MNT rename file by @adrinjalali in https://github.com/skops-dev/skops/pull/458 * Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 by @dependabot[bot] in https://github.com/skops-dev/skops/pull/460 * | Low | 7/25/2025 |
| v0.11.0 | ## What's Changed * FIX incorrect path in generated model card by @tuscland in https://github.com/skops-dev/skops/pull/428 * Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in https://github.com/skops-dev/skops/pull/424 * DOC add warning on skops convert by @adrinjalali in https://github.com/skops-dev/skops/pull/434 * MNT bump version on main by @adrinjalali in https://github.com/skops-dev/skops/pull/436 * ENH correctly restore default_factory of a defaultdict by @adrin | Low | 12/10/2024 |
| v0.10 | ## What's Changed * Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by @dependabot in https://github.com/skops-dev/skops/pull/402 * MNT post 0.9 release by @adrinjalali in https://github.com/skops-dev/skops/pull/400 * MNT Bump actions/setup-python from 4 to 5 and fix tests by @adrinjalali in https://github.com/skops-dev/skops/pull/405 * TST expect warning in API call by @adrinjalali in https://github.com/skops-dev/skops/pull/403 * Fix failing clean_skops.py script by @BenjaminBossan | Low | 8/8/2024 |
| v0.9.0 | ## What's Changed * Removes unnecessary paragraph after model card updates by @lazarust in https://github.com/skops-dev/skops/pull/376 * Bump version to next dev version after release by @BenjaminBossan in https://github.com/skops-dev/skops/pull/378 * MNT: Update repo URL of sklearn nightly build, fix sparse matrix persistence issue by @BenjaminBossan in https://github.com/skops-dev/skops/pull/375 * Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 by @dependabot in https://github.com/sko | Low | 10/23/2023 |
| v0.8.0 | ## What's Changed * ENH Set folded on model card add by @lazarust in https://github.com/skops-dev/skops/pull/361 * MNT support array functions in numpy>=1.25 by @adrinjalali in https://github.com/skops-dev/skops/pull/373 * MNT fixed test for QuantileRegressor by @EdAbati in https://github.com/skops-dev/skops/pull/374 * ENH: Added CLI command to update skops files by @EdAbati in https://github.com/skops-dev/skops/pull/343 | Low | 6/28/2023 |
| v0.7.0 | ## What's Changed * MNT start 0.7 development by @adrinjalali in https://github.com/skops-dev/skops/pull/339 * MNT: A little hardening of the auditing of Nodes by @BenjaminBossan in https://github.com/skops-dev/skops/pull/340 * MNT Refactor trusted by @BenjaminBossan in https://github.com/skops-dev/skops/pull/338 * Bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5 by @dependabot in https://github.com/skops-dev/skops/pull/342 * FEAT Add skops space creator app by @BenjaminBossan in https: | Low | 6/7/2023 |
| v0.6 | ## What's Changed * MNT bump version to 0.6.dev0 on main by @adrinjalali in https://github.com/skops-dev/skops/pull/280 * MNT add a section for the new releaes in the changelog by @adrinjalali in https://github.com/skops-dev/skops/pull/281 * DOC add PR prefixes to maintainer docs by @adrinjalali in https://github.com/skops-dev/skops/pull/282 * ENH pandoc parser minor improvements and support older pandoc by @BenjaminBossan in https://github.com/skops-dev/skops/pull/284 * Fix typo in _model_ | Low | 4/3/2023 |
| v0.5.0 | ## What's Changed * MNT: Change placeholder character to control character by @E-Aho in https://github.com/skops-dev/skops/pull/258 * DOC make the persistence warning the same as the user guide by @adrinjalali in https://github.com/skops-dev/skops/pull/259 * FIX: Persistence tests failing when using sklearn nightly by @BenjaminBossan in https://github.com/skops-dev/skops/pull/260 * MNT Turn off CatBoost verbosity in tests by @BenjaminBossan in https://github.com/skops-dev/skops/pull/262 * D | Low | 1/24/2023 |
| v0.4.0.post1 | A minor doc change. | Low | 12/20/2022 |
| v0.4.0 | ## What's Changed * MNT updated pre-commit config to use github for flake8 by @merveenoyan in https://github.com/skops-dev/skops/pull/221 * DOC add new what's new section to the changelog by @adrinjalali in https://github.com/skops-dev/skops/pull/229 * MNT Add light type annotations to skops.io by @BenjaminBossan in https://github.com/skops-dev/skops/pull/219 * MNT add helper functions to convert types to strings in .audit by @E-Aho in https://github.com/skops-dev/skops/pull/215 * DOC add a | Low | 12/16/2022 |
| v0.3.0 | This release brings a new persistence model which doesn't use pickle. It should still be used with caution, but we're more than happy for users to test it and report issues back. We also have numerous documentation, Hugging Face Hub integration, and model card tools improvements. The full list of changes follows. ## What's Changed * MNT bump version on main by @adrinjalali in https://github.com/skops-dev/skops/pull/115 * DOC release refinements by @adrinjalali in https://github.com/skops | Low | 11/28/2022 |
| v0.2 | ## What's Changed * Fix wrong link to logo in README.rst by @BenjaminBossan in https://github.com/skops-dev/skops/pull/95 * ENH Add table to model cards by @BenjaminBossan in https://github.com/skops-dev/skops/pull/90 * DOC Add intersphinx linking to docs by @BenjaminBossan in https://github.com/skops-dev/skops/pull/97 * TST Add tests for when pandas is not installed by @BenjaminBossan in https://github.com/skops-dev/skops/pull/98 * MAINT Rendering the model card by @BenjaminBossan in https | Low | 8/25/2022 |
| v0.1 | This is the first release ever, with skops.hub_utils and skops.card modules being the main implementations. Refer to the documentation for release notes and more: https://skops.readthedocs.io/ ## What's Changed * MNT fixes by @adrinjalali in https://github.com/skops-dev/skops/pull/1 * MNT add doc build by @adrinjalali in https://github.com/skops-dev/skops/pull/5 * MNT add readthedocs config by @adrinjalali in https://github.com/skops-dev/skops/pull/6 * MNT use py3.8 for readthedocs by | Low | 8/11/2022 |
