Skip to main content
Ctrl+K

Philip May

  • Machine Learning
  • Python
  • IT
  • Linux
  • Blog
  • About Me
  • Machine Learning
  • Python
  • IT
  • Linux
  • Blog
  • About Me

Section Navigation

  • Backoff
  • Beautiful Soup
  • Black
  • Colab
  • Collections
  • Conda
  • Context Manager
  • Dataclass
  • Date & Time
  • Docstrings
  • Exceptions
  • Filesystem
  • Iterate
  • Joblib
  • JSON
  • Jupyter & JupyterLab
  • Langfuse
  • Linter
  • Logging
  • Mock
  • Pandas
  • PIP
  • Poetry
  • PyCharm
  • pyenv
  • pytest
  • Python Naming
  • Python Programming
  • REST API with Python
  • Selenium
  • tqdm
  • Typing
  • UV
  • venv
  • Python
  • Joblib

Joblib#

  • install: pip install joblib

Links#

  • https://joblib.readthedocs.io/

Commands#

  • pickle compressed data to disk

    • joblib.dump(data, "<the_file>.pkl.gz", compress=("gzip", 3))

    • also see https://joblib.readthedocs.io/en/latest/generated/joblib.dump.html

  • read compressed pickled data from disk

    • data = joblib.load("<the_file>.pkl.gz")

    • also see https://joblib.readthedocs.io/en/latest/generated/joblib.load.html

On this page
  • Links
  • Commands
Edit on GitHub

© Copyright 2020-2025 Philip May.