:orphan:

Gallery
=======

Basic usage of ``loky``

.. raw:: html

.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example highlights the loky API to reuse a ReusableProcessPool.">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_reuse_executor_thumb.png
    :alt:

  :doc:`/auto_examples/reuse_executor`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Reuse Executor</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="It is possible to reuse an executor even if it has a complicated setup. When using the parameter reuse=True, the executor is resized if needed but the arguments stay the same.">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_reuseable_executor_thumb.png
    :alt:

  :doc:`/auto_examples/reuseable_executor`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Advanced Executor Setup</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example highlights the options for tempering with loky serialization process.">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_cloudpickle_wrapper_thumb.png
    :alt:

  :doc:`/auto_examples/cloudpickle_wrapper`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Serialization of un-picklable objects</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/reuse_executor
   /auto_examples/reuseable_executor
   /auto_examples/cloudpickle_wrapper


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
