Skip to main content

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.

python -m pip install qdpy

Use uv add qdpy in a uv project, or install into a uv virtual environment.

uv venv
uv pip install qdpy

Optional extras include deap for DEAP, cma for CMA-ES, cpsat for OR-Tools archive search, 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, and learned descriptors. They show how to resume a search, recover completed evaluations, and compare archives across seeds. The algorithm catalog lists evaluator requirements, budget units, and runnable examples. Documentation · Algorithm catalog · Shared benchmarks · Release notes

Metadata

Release files for qdpy 0.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 qdpy 0.3.0
File Size Uploaded Provenance Actions
qdpy-0.3.0.tar.gz 5.1 MB Without provenance Details for qdpy-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.8 MB

Release files / qdpy-0.3.0.tar.gz

Download URL qdpy-0.3.0.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
9c551bacf6326df3b56c3630c37eed8f3b07c27b2a0ff7c866f7ee10722c52e3
BLAKE2b-256 checksum
How to use checksums
e3e6a6526506a3e073cace9a593f1c6064d65fb0a736da2996771817e321c793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / qdpy-0.3.0-py3-none-any.whl

Download URL qdpy-0.3.0-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9a23c559a913144cded3c517b197fa4ac07e91d91c6e63c7af89b960ae636615
BLAKE2b-256 checksum
How to use checksums
78d0f63f309fd0ee801efa41fab67680a7424a14b4d0514cf4cfda995d6e8678
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for qdpy 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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