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 · Reference benchmark results · Release notes

Metadata

Release files for qdpy 0.4.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.4.0
File Size Uploaded Provenance Actions
qdpy-0.4.0.tar.gz 7.6 MB Without provenance Details for qdpy-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.5 MB

Release files / qdpy-0.4.0.tar.gz

Download URL qdpy-0.4.0.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
620aed886deffa44b06553bd6796ad9bd91255f6f175bd5ec899a7672de8aa4e
BLAKE2b-256 checksum
How to use checksums
55f767a5ae50594970f337dcfc1c7ea0e5b240ceff4a329c22ad9e1bbfc73830
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.4.0-py3-none-any.whl

Download URL qdpy-0.4.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
53ba54a1244d29c24d6c7c98b86b58f76fae1c3b44f8362457e6f5b833961137
BLAKE2b-256 checksum
How to use checksums
db02cbd35791b54364022e5a561197ef1303ac06b580dc914d6fa0c21e947abd
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.4.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.4.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