Python SDK for model-environment evaluation workflows
Project description
RLMesh
RLMesh is a Python SDK for model-environment evaluation. It serves Gymnasium-style environments, connects clients over local or remote transports, and adapts values for plain Python, NumPy, Torch, and JAX users.
Pre-1.0 (
0.x): the stable API may change in a minor release, with a migration note, so pin a minor range for active projects.
Installation
Install from PyPI:
pip install rlmesh
Install optional adapters as needed:
pip install "rlmesh[numpy]"
pip install "rlmesh[gymnasium]"
pip install "rlmesh[torch]"
pip install "rlmesh[jax]"
Quickstart
Install RLMesh with Gymnasium support and the NumPy client adapter:
pip install "rlmesh[gymnasium,numpy]"
In one process, serve any Gymnasium-compatible environment:
import gymnasium as gym
from rlmesh import EnvServer
env = gym.make("CartPole-v1")
EnvServer(env, "127.0.0.1:5555").serve()
In another process, connect to it as a remote environment:
from rlmesh.numpy import RemoteEnv
env = RemoteEnv("127.0.0.1:5555")
observation, info = env.reset(seed=0)
terminated = truncated = False
while not (terminated or truncated):
action = env.action_space.sample()
observation, reward, terminated, truncated, info = env.step(action)
env.close()
Links
- Homepage: https://rlmesh.dev
- Documentation: https://docs.rlmesh.dev
- Repository: https://github.com/ArenaX-Labs/rlmesh
- Examples: https://github.com/ArenaX-Labs/rlmesh/tree/main/examples/python
- Issues: https://github.com/ArenaX-Labs/rlmesh/issues
- Default contact: research@competesai.com
License
Licensed under either of Apache License, Version 2.0 or the MIT license, at your option. See LICENSE-APACHE and LICENSE-MIT.
Python wheels also include third-party notices in THIRD_PARTY_NOTICES.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6de98dbf5397eec9d70ae2d9d7a89dc5de0289ef7d647314fab639ef30f4113
|
|
| MD5 |
df6c5e04785cb1e0a8de2f5eb6e81cc3
|
|
| BLAKE2b-256 |
0cc08e0d4dd73e45743a46b487c68e3fddb0cab661ba2ab8d31e153cd176ceef
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.11+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
985eeb374f25f22004af06619d7f8263cb43eee9d3ade70b47f777a87af69e33
|
|
| MD5 |
4cc9b76359679b6dee455ecca72b2f91
|
|
| BLAKE2b-256 |
1c1f47b2152f11414c5679fdfeda9493c4243be581ce702d76797b3fc9ad45e6
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.11+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6112a3d6e0c3ebed45429f7d580aeaec53343a50632e515762898d69b70b4665
|
|
| MD5 |
154f56b610817ad45262472730954002
|
|
| BLAKE2b-256 |
cc2d07285e227dc3f20158bcf88dd7502622d789a0919050f092c8efd2103c20
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da8326d31fcbbc69a63240de2224797e970465428d9370e993afb002414f4d70
|
|
| MD5 |
fa84d2bb5f8e8c627d3f7ab194d89482
|
|
| BLAKE2b-256 |
2ff35b3e6e4ab7f2cefa4d873ab38a3d3c1047559603ac4a0b7d981ec5cbd8cc
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31891a98ebbb53f8e17874495f90a40543399ecc295e7bb42bc1ca60857e2002
|
|
| MD5 |
1559a81136019ec7672eb83a437a0874
|
|
| BLAKE2b-256 |
0929fd37cd37b5fbd03d319867c1c00e4ce679210c4ed12324e094e82d36c5ce
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6b6caec7107dd86d918206992ce1d6fea50b6791cc8b479d8829063db49be5f
|
|
| MD5 |
8620faf83e0f61708d49c5f7eca911bb
|
|
| BLAKE2b-256 |
fab6fb7d8a47aec28fce82e715d570ec80fb587b8a8a666485681a5859f56cb5
|
File details
Details for the file rlmesh-0.1.0rc3-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cf02b9abd5b45e91d610fdf5b8bd47ee1acc6250c61b155016a795001eebe7c
|
|
| MD5 |
65152d0b7caeeeba4dbb34407886b558
|
|
| BLAKE2b-256 |
db3c9a2ed708004c65f484b1a37f95e225d65c77249d72814026acdcddb0c324
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698f05f518197ae4f4f1c476134d9ddc897f987026bd20ccbdc703cfcb2f3eed
|
|
| MD5 |
91defcc4725b98f78c3faf21720f2a8c
|
|
| BLAKE2b-256 |
e250744297659beb3ff5c092b01eaa2eac7a1456b00722cc3a88c5133f3b1e40
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117da413f6ed1040c7fc1037b28bcfd230b675e448a2bae208484f04808cc77a
|
|
| MD5 |
dd781a9e93527706c80814b4e2589219
|
|
| BLAKE2b-256 |
152b15b69176351f7f44db493191d9804f2e9b5ad1eeffe72539b30c1a06d403
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97be86fbe1d9e64d7f38a013e27f38425114819380d48e7af2f2ad12e2fa7888
|
|
| MD5 |
af2c2a8ba599b481da6db7343e06310f
|
|
| BLAKE2b-256 |
4489fe10ffe45704bada6f8475a62431896680585456995d19c6e7dd0b855ca7
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2fb9b5bdab8a70b585bad54da3d8220873c76233a773934565a1c1f6868a314
|
|
| MD5 |
8c0449a10eb0fc80955aca68a6f418d2
|
|
| BLAKE2b-256 |
c9734084e727304367786a1c10534e28a79a1b54cc407751b2a425de9b3dbb6e
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef7178af0a058c85f8e511461b24b3977d6c046207e62be60f3854693b81d738
|
|
| MD5 |
0cfea08b2c587948f57d5f0d6c0c6e5d
|
|
| BLAKE2b-256 |
06da14067ee2a6b053c1e33fd1fd532940fa14df4a5d1f06c22a77fc699815dd
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2bed181dfac7f9d96e84bbf361a2f3fa9f2a71228dd856116d59ca3a08375b3
|
|
| MD5 |
d4407f0f59e5c839cab5f2f7b4f5f2a5
|
|
| BLAKE2b-256 |
f622a6128691a6ce29981c9cca53619be21bb9bd9c4dad3bc5f38a5e910e8fec
|
File details
Details for the file rlmesh-0.1.0rc3-cp310-cp310-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0rc3-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1018f9937dd90b78752405dcb612051b01af16c3f2489814261323e54b71170
|
|
| MD5 |
c447806850432a9c177ed7eb3234bd6d
|
|
| BLAKE2b-256 |
ed8b0c173d753012e5544343c47d98c825c537095c0cbfd22ebec15226f52d25
|