Skip to main content

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 supports Python >= 3.10.

  • The only dependency is cloudpickle >= 3.

  • 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. The oldest numpy version supported is the oldest numpy version supported by Python 3.10 (numpy version 1.21.3).

  • Joblib can use Dask distributed backend but does not require distributed to be installed. The oldest distributed version supported is 2022.8.1.

  • 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:

pip install joblib[test]
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 .[docs]

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

To generate a release, create a new Release in GitHub; the release will be automatically published to PyPI.

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

Metadata

Release files for joblib 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for joblib 1.6.0
File Size Uploaded
joblib-1.6.0.tar.gz 327.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for joblib 1.6.0
File Interpreter ABI Platform
joblib-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 634.0 kB

Release files / joblib-1.6.0.tar.gz

Download URL joblib-1.6.0.tar.gz
Size 327.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2ccc96785b12046c08fd6d55839c12857831b54a3c1673ffadd2f04bfc4eda03
BLAKE2b-256 checksum
How to use checksums
d51d537ab090f302b838943a1b56497dd53059b9a9b46a074936470173a2e207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / joblib-1.6.0-py3-none-any.whl

Download URL joblib-1.6.0-py3-none-any.whl
Size 306.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dbbf9f6e4b592a2357b854608e980fe6390d131d7a82f011a377ef2ebef7aba
BLAKE2b-256 checksum
How to use checksums
185384099323c2ec4be98d935f63c033ac4151ee83836ca1050ede3b3aadf155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.12.5

2 release files

0.12.3

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11

2 release files

0.10.3

3 release files

0.10.2

3 release files

0.10.0

3 release files

0.9.4

2 release files

0.9.3

3 release files

0.9.2

3 release files

0.9.1

3 release files

0.8.4

3 release files

0.8.3

4 release files

0.8.2

3 release files

0.8.1

3 release files

0.8.0

3 release files

0.7.1

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.7

2 release files

0.1a

0.3.2f

0.3.2d

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page