Skip to main content

Joblib version Azure 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 git://github.com/joblib/joblib.git

If you don’t have git installed, you can download a zip or tarball of the latest code: http://github.com/joblib/joblib/archives/master

Installing

You can use pip to install joblib:

pip install joblib

from any directory or:

python setup.py install

from the source directory.

Dependencies

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

  • 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’ on the computers where you want to work. Make your changes in your clone, push them to your github account, test them on several computers, and when you are happy with them, send a pull request to the main repository.

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:

python setup.py sdist

The tarball will be created in the dist directory. This command will compile the docs, and the resulting tarball can be installed with no extra dependencies than the Python standard library. You will need setuptool and sphinx.

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:

python setup.py sdist bdist_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

Release files for joblib 1.3.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.3.0
File Size Uploaded
joblib-1.3.0.tar.gz 2.0 MB Details

Built distribution (wheel)

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

Total release size: 2.3 MB

Release files / joblib-1.3.0.tar.gz

Download URL joblib-1.3.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
0b12a65dc76c530dbd790dd92881f75c40932b4254a7c8e608a868df408ca0a3
BLAKE2b-256 checksum
How to use checksums
46032e46a5894e7ac7462cb6b6299f94d46e761b3b483c6ab54bdf96eee09b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL joblib-1.3.0-py3-none-any.whl
Size 301.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172d56d4c43dd6bcd953bea213018c4084cf754963bbf54b8dae40faea716b98
BLAKE2b-256 checksum
How to use checksums
1ef26ec7eb9e48c88c750da04050a5ba8250ca9949dfcf6e624ccee12d2fc653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

1.6.0

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

This release

1.3.0 This release

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