17QD algorithms can be accessed directly, but `qdpy` also includes building blocks that can be easily assembled together to build your own QD algorithms. It can be used with parallelism mechanisms and in distributed environments.
18
19This checkout requires Python 3.11 or newer.
20
21`qdpy` includes the following features:
22 * Generic support for diverse Containers: Grids, Novelty-Archives, Populations, etc
23 * Optimisation algorithms for QD: random search methods, quasi-random methods, evolutionary algorithms
24 * Support for multi-objective optimisation methods
25 * Possible to use optimisation methods not designed for QD, such as [CMA-ES](https://arxiv.org/pdf/1604.00772.pdf)
26 * Parallelisation of evaluations, using parallelism libraries, such as multiprocessing, concurrent.futures or [SCOOP](https://github.com/soravux/scoop)
27 * Easy integration with the popular [DEAP](https://github.com/DEAP/deap) evolutionary computation framework
28
29Install
30=======
31To install this checkout:
32 python -m pip install .
33
34`qdpy` includes optional features that need extra packages to be installed:
35 * `cma` for CMA-ES support
36 * `deap` to integrate with the DEAP library
37 * `tables` to output results files in the HDF5 format
38 * `tqdm` to display a progress bar showing optimisation progress
39 * `colorama` to add colours to pretty-printed outputs
40
41You can install `qdpy` and all of these optional dependencies with:
42 pip3 install qdpy[all]
43
44The development guide is in `docs/index.md` in the GitLab repository.
45
46Example
47=======
48From a python shell::
49
50 from qdpy import algorithms, containers, benchmarks, plots
51
52 # Create container and algorithm. Here we use MAP-Elites, by illuminating a Grid container by evolution.