joblib 1.5.1


pip install joblib

  Latest version

Released: May 23, 2025

Project Links

Meta
Author: Gael Varoquaux
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers
  • Science/Research
  • Education

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Topic
  • Scientific/Engineering
  • Utilities
  • Software Development :: Libraries

Joblib version CI status Documentation Status Codecov coverage

The homepage of joblib with user documentation is located on:

https://joblib.readthedocs.io

Getting the latest code

To get the latest code using git, simply type:

git clone https://github.com/joblib/joblib.git

If you don’t have git installed, you can download a zip of the latest code: https://github.com/joblib/joblib/archive/refs/heads/main.zip

Installing

You can use pip to install joblib from any directory:

pip install joblib

or install it in editable mode from the source directory:

pip install -e .

Dependencies

  • Joblib has no mandatory dependencies besides Python (supported versions are 3.9+).

  • Joblib has an optional dependency on Numpy (at least version 1.6.1) for array manipulation.

  • Joblib includes its own vendored copy of loky for process management.

  • Joblib can efficiently dump and load numpy arrays but does not require numpy to be installed.

  • Joblib has an optional dependency on python-lz4 as a faster alternative to zlib and gzip for compressed serialization.

  • Joblib has an optional dependency on psutil to mitigate memory leaks in parallel worker processes.

  • Some examples require external dependencies such as pandas. See the instructions in the Building the docs section for details.

Workflow to contribute

To contribute to joblib, first create an account on github. Once this is done, fork the joblib repository to have your own repository, clone it using git clone. Make your changes in a branch of your clone, push them to your github account, test them locally, and when you are happy with them, send a pull request to the main repository.

You can use pre-commit to run code style checks before each commit:

pip install pre-commit
pre-commit install

pre-commit checks can be disabled for a single commit with:

git commit -n

Running the test suite

To run the test suite, you need the pytest (version >= 3) and coverage modules. Run the test suite using:

pytest joblib

from the root of the project.

Building the docs

To build the docs you need to have sphinx (>=1.4) and some dependencies installed:

pip install -U -r .readthedocs-requirements.txt

The docs can then be built with the following command:

make doc

The html docs are located in the doc/_build/html directory.

Making a source tarball

To create a source tarball, eg for packaging or distributing, run the following command:

pip install build
python -m build --sdist

The tarball will be created in the dist directory. This command will create the resulting tarball that can be installed with no extra dependencies than the Python standard library.

Making a release and uploading it to PyPI

This command is only run by project manager, to make a release, and upload in to PyPI:

pip install build
python -m build --sdist --wheel
twine upload dist/*

Note that the documentation should automatically get updated at each git push. If that is not the case, try building th doc locally and resolve any doc build error (in particular when running the examples).

Updating the changelog

Changes are listed in the CHANGES.rst file. They must be manually updated but, the following git command may be used to generate the lines:

git log --abbrev-commit --date=short --no-merges --sparse
1.5.1 May 23, 2025
1.5.0 May 03, 2025
1.4.2 May 02, 2024
1.4.0 Apr 08, 2024
1.3.2 Aug 09, 2023
1.3.1 Jun 29, 2023
1.3.0 Jun 28, 2023
1.2.0 Sep 16, 2022
1.1.1 Oct 10, 2022
1.1.0 Oct 07, 2021
1.1.0a0 Oct 07, 2021
1.0.1 Feb 09, 2021
1.0.0 Dec 14, 2020
0.17.0 Oct 02, 2020
0.16.0 Jul 01, 2020
0.15.1 May 16, 2020
0.15.0 May 15, 2020
0.14.1 Dec 10, 2019
0.14.0 Oct 01, 2019
0.13.2 Feb 13, 2019
0.13.1 Jan 11, 2019
0.13.0 Nov 06, 2018
0.12.5 Sep 13, 2018
0.12.4 Sep 05, 2018
0.12.3 Aug 30, 2018
0.12.2 Aug 02, 2018
0.12.1 Jul 17, 2018
0.12.0 Jun 22, 2018
0.11 Mar 02, 2017
0.11a3 Mar 02, 2017
0.10.3 Oct 18, 2016
0.10.2 Aug 29, 2016
0.10.0 Jul 13, 2016
0.9.4 Jan 18, 2016
0.9.3 Oct 30, 2015
0.9.2 Oct 14, 2015
0.9.1 Oct 14, 2015
0.9.0b4 Aug 27, 2015
0.9.0b3 Jul 22, 2015
0.9.0b2 Jun 29, 2015
0.8.4 Nov 24, 2014
0.8.3.post1 Aug 24, 2014
0.8.3 Aug 20, 2014
0.8.2 Jul 01, 2014
0.8.1 Jun 04, 2014
0.8.0 May 28, 2014
0.8.0a3 Jan 15, 2014
0.8.0a2 Dec 23, 2013
0.8.0a0 Dec 20, 2013
0.7.1 Jul 26, 2013
0.7.0rc0 Feb 07, 2013
0.7.0b0 Nov 20, 2012
0.7.0a0 Nov 19, 2012
0.6.5 Sep 21, 2012
0.6.4 May 07, 2012
0.6.3 Feb 15, 2012
0.6.2 Feb 07, 2012
0.6.1 Feb 05, 2012
0.6.0 Feb 05, 2012
0.6.0b3 Jan 12, 2012
0.6.0b2 Jan 07, 2012
0.6.0b0 Jan 07, 2012
0.6.0a0 Jan 03, 2012
0.5.7 Dec 28, 2011
0.5.7b0.dev0 Dec 25, 2011
0.5.7a0.dev0 Dec 25, 2011
0.5.7.dev0 Dec 28, 2011
0.5.6.dev0 Dec 18, 2011
0.5.5.dev0 Oct 20, 2011
0.5.4.dev0 Sep 29, 2011
0.5.3.dev0 Jun 25, 2011
0.5.2.dev0 Jun 25, 2011
0.5.1.dev0 Apr 13, 2011
0.5.0a0.dev0 Mar 22, 2011
0.5.0.dev0 Apr 01, 2011
0.4.6.dev0 Nov 21, 2010
0.4.5.dev0 Sep 16, 2010
0.4.4.dev0 Aug 23, 2010
0.4.3.dev0 Jul 22, 2010
0.4.2.dev0 Jul 16, 2010
0.4.1.dev0 Jul 03, 2010
0.4.0.dev0 Jun 22, 2010
0.3.7.dev0 Jun 22, 2010
0.3.6.dev0 May 07, 2010
0.3.5.dev0 Apr 25, 2010
0.3.4.dev0 Dec 08, 2009
0.3.3rc0.dev0 Sep 16, 2009
0.3.3b0.dev0 Sep 14, 2009
0.3.3a0.dev0 Sep 11, 2009
0.3.2rc0.dev0 Sep 01, 2009
0.3.2b0.dev0 Sep 01, 2009
0.3.2a0.dev0 Sep 01, 2009
0.3.2.dev0 Sep 10, 2009
0.3.1a0.dev0 Sep 01, 2009
0.3a0.dev0 Sep 01, 2009
0.2a0.dev0 Mar 22, 2009
0.1a0.dev0 Oct 26, 2008
0.0rc0 Oct 26, 2008

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies