Metadata-Version: 2.4
Name: qdpy
Version: 0.2.0
Summary: Quality-Diversity algorithms in Python
Author-email: Leo Cazenille <leo.cazenille@gmail.com>
License-Expression: LGPL-3.0-or-later AND BSD-3-Clause
Project-URL: Repository, https://gitlab.com/leo.cazenille/qdpy
Project-URL: Documentation, https://gitlab.com/leo.cazenille/qdpy/-/tree/master/docs
Keywords: quality-diversity,MAP-Elites,evolutionary algorithms,optimization
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
License-File: COPYING
License-File: LICENSE
License-File: qdpy/hdsobol/LICENSE
Requires-Dist: deprecation>=2.1
Requires-Dist: matplotlib>=3.8.4
Requires-Dist: numpy>=1.26.4
Requires-Dist: pandas>=2.2.2
Requires-Dist: psutil>=5.7
Requires-Dist: PyYAML>=6.0.1
Requires-Dist: scikit-learn>=1.4.2
Requires-Dist: scipy>=1.11.4
Requires-Dist: sortedcollections>=2.1
Requires-Dist: typing_extensions>=4.6
Provides-Extra: deap
Requires-Dist: deap>=1.2.2; extra == "deap"
Provides-Extra: cma
Requires-Dist: cma>=2.6; extra == "cma"
Provides-Extra: dms
Requires-Dist: cma>=2.6; extra == "dms"
Requires-Dist: torch; extra == "dms"
Provides-Extra: rl
Requires-Dist: gymnasium>=1.0; extra == "rl"
Requires-Dist: torch; extra == "rl"
Provides-Extra: hdf5
Requires-Dist: tables>=3.4.4; extra == "hdf5"
Provides-Extra: progress
Requires-Dist: colorama>=0.4.1; extra == "progress"
Requires-Dist: tqdm>=4.28.1; extra == "progress"
Provides-Extra: ray
Requires-Dist: ray>=0.7.4; extra == "ray"
Provides-Extra: all
Requires-Dist: cma>=2.6; extra == "all"
Requires-Dist: colorama>=0.4.1; extra == "all"
Requires-Dist: deap>=1.2.2; extra == "all"
Requires-Dist: ray>=0.7.4; extra == "all"
Requires-Dist: tables>=3.4.4; extra == "all"
Requires-Dist: tqdm>=4.28.1; extra == "all"
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx>=7; extra == "docs"
Requires-Dist: myst-parser>=4; extra == "docs"
Dynamic: license-file

QDpy
====

QDpy is a Python library for quality-diversity optimisation. A search
algorithm proposes candidates, an evaluator supplies fitness and behaviour
descriptors, and a container decides which candidates to retain. The package
includes MAP-Elites and novelty archive workflows, with an ask/tell interface
for custom evaluation loops.

Install with Python 3.11 or newer.

.. code-block:: sh

   python -m pip install qdpy

Optional extras include ``deap`` for DEAP, ``cma`` for CMA-ES, and ``hdf5``
for HDF5 result files. Use ``progress`` for progress bars and coloured output,
and ``ray`` for Ray workers.

Install ``qdpy[rl]`` to train Gymnasium policies with PyTorch. The extra
includes neural MAP-Elites, PPO, TD3, SAC, and continuous model-free QDAC.
It supports exporting trained actors for inference and evaluating QDAC
actors at fixed desired skills.

The tutorials cover MAP-Elites, novelty search, noisy evaluations,
learned descriptors, and replaying saved searches. They also show how
to use Ray for evaluation and Rundra for seed sweeps on Slurm.
`Documentation <https://gitlab.com/leo.cazenille/qdpy/-/tree/master/docs>`_ ·
`Repository and release notes <https://gitlab.com/leo.cazenille/qdpy>`_
