Skip to main content

Revolve2

Revolve2 is a collection of Python packages used for researching evolutionary algorithms and modular robotics. Its primary features are a modular robot framework, an abstraction layer around physics simulators, and evolutionary algorithms.

Documentation: ci-group.github.io/revolve2

Installation: ci-group.github.io/revolve2/installation

Get help: github.com/ci-group/revolve2/discussions/categories/ask-for-help

DOI License: LGPL v3 CI

Sample

Here we create and simulate a modular robot, and then calculate how far it moved over the xy plane. This is a shortened version of examples/evaluate_single_robot.

# (...) Omitted preamble

# Create a modular robot.
body = modular_robots_v1.gecko_v1()
brain = BrainCpgNetworkNeighborRandom(body=body, rng=rng)
robot = ModularRobot(body, brain)

# Create a scene.
scene = ModularRobotScene(terrain=terrains.flat())
scene.add_robot(robot)

# Create a simulator.
simulator = LocalSimulator(headless=False)

# Simulate the scene and obtain states sampled during the simulation.
scene_states = simulate_scenes(
    simulator=simulator,
    batch_parameters=make_standard_batch_parameters(),
    scenes=scene,
)

# Get the state at the beginning and end of the simulation.
scene_state_begin = scene_states[0]
scene_state_end = scene_states[-1]

# Retrieve the states of the modular robot.
robot_state_begin = scene_state_begin.get_modular_robot_simulation_state(robot)
robot_state_end = scene_state_end.get_modular_robot_simulation_state(robot)

# Calculate the xy displacement of the robot.
xy_displacement = fitness_functions.xy_displacement(
    robot_state_begin, robot_state_end
)

Metadata

Release files for revolve2-standards 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for revolve2-standards 1.2.4
File Actions
revolve2_standards-1.2.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for revolve2_standards-1.2.4-cp311-cp311-win_amd64.whl
revolve2_standards-1.2.4-cp311-cp311-musllinux_1_1_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.1+ x86-64 Details for revolve2_standards-1.2.4-cp311-cp311-musllinux_1_1_x86_64.whl
revolve2_standards-1.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for revolve2_standards-1.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
revolve2_standards-1.2.4-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details for revolve2_standards-1.2.4-cp311-cp311-macosx_14_0_arm64.whl
revolve2_standards-1.2.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for revolve2_standards-1.2.4-cp310-cp310-win_amd64.whl
revolve2_standards-1.2.4-cp310-cp310-musllinux_1_1_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.1+ x86-64 Details for revolve2_standards-1.2.4-cp310-cp310-musllinux_1_1_x86_64.whl
revolve2_standards-1.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for revolve2_standards-1.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
revolve2_standards-1.2.4-cp310-cp310-macosx_14_0_arm64.whl CPython 3.10 CPython 3.10 macOS 14.0+ ARM64 Details for revolve2_standards-1.2.4-cp310-cp310-macosx_14_0_arm64.whl

Total release size: 3.9 MB

Release files / revolve2_standards-1.2.4-cp311-cp311-win_amd64.whl

Download URL revolve2_standards-1.2.4-cp311-cp311-win_amd64.whl
Size 196.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
bb4ce8c187afb6d7560b1e4dae0f86f2b3920209fe469d89703dfaa212076b9a
BLAKE2b-256 checksum
How to use checksums
bda9fcc692482c356cb44bf1f5f55115505ca6bb502459c4749bbcc59bc179bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp311-cp311-musllinux_1_1_x86_64.whl

Download URL revolve2_standards-1.2.4-cp311-cp311-musllinux_1_1_x86_64.whl
Size 984.3 kB
Tags CPython 3.11 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
780aac94548160de02d0831476b62c30723dd73236ba7089e8455e0cb49fac70
BLAKE2b-256 checksum
How to use checksums
ee0355dcb4c7b9934fd423cc6cb16da3f6db03752c54a2349328553bd7bebfa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL revolve2_standards-1.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 973.6 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5f3f2d4acd9d77ce6fb3539b441ac89b2ff6b687dd3a061131f301c593207cb4
BLAKE2b-256 checksum
How to use checksums
9101f0350d3608ce3f72108e1259ca4daf52e1d7b63d17f8e2d12e0bb8e2d112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp311-cp311-macosx_14_0_arm64.whl

Download URL revolve2_standards-1.2.4-cp311-cp311-macosx_14_0_arm64.whl
Size 373.9 kB
Tags CPython 3.11 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
f38f365168b30631b33136ed249f3926fee6bf662e79aa37f355f8c01507fd25
BLAKE2b-256 checksum
How to use checksums
1b57a6cc69a0bdf19fd18628b0772dfb6874f795a274663b6796868c03f0cd83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp310-cp310-win_amd64.whl

Download URL revolve2_standards-1.2.4-cp310-cp310-win_amd64.whl
Size 121.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
9d9d879c297c799fffa9e63b2e24fd4435d750687c917dcc2166dc35ba01076a
BLAKE2b-256 checksum
How to use checksums
4a8ba66a2d08222b18d920f1971f64e54719e7ba4000edf5160828ab6812fc9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp310-cp310-musllinux_1_1_x86_64.whl

Download URL revolve2_standards-1.2.4-cp310-cp310-musllinux_1_1_x86_64.whl
Size 511.7 kB
Tags CPython 3.10 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
0be159b970b59279b1abfb24b970a348c1bd1be52c789d0d1401abdc648b21b8
BLAKE2b-256 checksum
How to use checksums
7f442452c58dc1db828460ef75ab87f2bda0dc69923132b8aeb9022ed2c3c950
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL revolve2_standards-1.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 503.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1b82fcce7a83f443ba0007dfcd49c87edce8348b096055ff459c7f9192e37af8
BLAKE2b-256 checksum
How to use checksums
b247028a099c350d42d2a46786df09c2b89a09cb86ca8c688f8bd8d0f95450ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / revolve2_standards-1.2.4-cp310-cp310-macosx_14_0_arm64.whl

Download URL revolve2_standards-1.2.4-cp310-cp310-macosx_14_0_arm64.whl
Size 210.4 kB
Tags CPython 3.10 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
9fb2c08dfa4d9391715d5b259171563635304ac9fef0783b61253dff5f69ef94
BLAKE2b-256 checksum
How to use checksums
07d1b277433cffbefec616194e658f3c0b63a342d32fd03f7471053540a81cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Security for revolve2-standards 1.2.4

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for revolve2_standards-1.2.4-cp311-cp311-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

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

1.2.4 This release

8 release files Full 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