Python SDK for model-environment evaluation workflows
Project description
RLMesh
RLMesh is a Python SDK for model-environment evaluation workflows. It can serve Gymnasium-style environments, connect clients over local or remote transports, and adapt values for plain Python, NumPy, and Torch users.
Beta: APIs and package structure may change before the stable release.
Installation
Install the published beta from PyPI:
pip install --pre rlmesh
Install optional adapters as needed:
pip install --pre "rlmesh[numpy]"
pip install --pre "rlmesh[gymnasium]"
pip install --pre "rlmesh[torch]"
Quickstart
Install RLMesh with Gymnasium support:
pip install --pre "rlmesh[gymnasium]"
In one process, serve any Gymnasium-compatible environment:
import gymnasium as gym
import rlmesh
env = gym.make("CartPole-v1")
rlmesh.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()
Runnable examples and exact commands live in the repository under examples/python.
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.0b2-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 6.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 |
f2b99a26a9fff875e1ed965e962212817f148ed39a8bf582530592bdba5d74b0
|
|
| MD5 |
28fdb057743a0bfc9299299f4b62934e
|
|
| BLAKE2b-256 |
efca45e2113ec46866ba452ad13d6efa4c6bedf6d8dd2fc004af84d038c0b7f0
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 7.4 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 |
83784b94b1237185f6f9ebe599df7ad74a764ff47d0c07c5cae22a14686a840d
|
|
| MD5 |
91fe1ae983f674407105652b17e8f60c
|
|
| BLAKE2b-256 |
e84fe12c1e312788525fcd5021a54c64c832d0c21279d627f950d4c14d56be4d
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 7.0 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 |
789ed45b259d3e6585ceab62da90e55b2c8cf55c8d2ac92764920a35b44f7d45
|
|
| MD5 |
53f619ed2f18fcc766ced60c563d9575
|
|
| BLAKE2b-256 |
e811f366e84aa57b080c39d767e114c4ad7c9c40451d605f7849b1f58f212f43
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.4 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 |
f717903783e96325a91eab6fb37c9dddac44ae4d0c922a821d2af2d1f605bdc6
|
|
| MD5 |
19fbab8e7301b5645a4e11e96db7a439
|
|
| BLAKE2b-256 |
8a2db3caac8f33f5c2dde0878df1ef2639062841e8c6be9eaf26b5951a9579be
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 7.0 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 |
a46f1f6af5763c4cfbecc127c73717f967d06698ac1503e7ea54dd502c52cd54
|
|
| MD5 |
2d15e4c27307fd0c965de98ee9588707
|
|
| BLAKE2b-256 |
d471233c00366df4311efa8bd9ef810f9ebb559c22386fb7d30abb9bffadd264
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 6.7 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 |
73562435a0647b98520cfb6a9f66e8f7a894354d3eab11dd5556489289a8b44f
|
|
| MD5 |
9abf50d35644ae00249a852ec40a5958
|
|
| BLAKE2b-256 |
faf66ab9ac62de4df46f4e5e51848a374c9f56d4f1a760dd21be8a783a8f24a5
|
File details
Details for the file rlmesh-0.1.0b2-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 6.9 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 |
e5fa6fe8f7748040d6b5c70b01cedf26486d5a27012a62c0edf5774abfa852ea
|
|
| MD5 |
5911f3df386a1645b26d61a1b73ed16b
|
|
| BLAKE2b-256 |
0bbae7f1990ff3fe2fc709622066a6c55bbf04d470661857872ea974bd21852d
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 6.1 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 |
755fd08fc58c041ce356454d00ec91ac92c2c84b2212a8689ffb9d778488f69e
|
|
| MD5 |
cfb46c98c807649a51485268569efc94
|
|
| BLAKE2b-256 |
ecd6b9c9c202fb0a55617afd7434332e91492b2afa77e8734314a07f062f31a3
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 7.4 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 |
4333b106eef8663395e75e6ba5a29c2a52a8573b944153d87fe16e9403d65140
|
|
| MD5 |
1e461d966fee05f4b03c6c0509f4b1b8
|
|
| BLAKE2b-256 |
737652154ec0d9100648d40c3ff2d3d92a56c70432c43991897dbe3521b233b0
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 7.0 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 |
ad1b8135edb3605d07c8ca0fecfa309f53392177a3e77f4011d84275928d9f4e
|
|
| MD5 |
fd95c005499207d394262b8b9c5e5bd1
|
|
| BLAKE2b-256 |
fecfbf60e025bc4264fe602000c53674725a8ed394b7a4df43202d2ebd68c43f
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.4 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 |
3d881d65a6dcfb3d3f5aa8402c278d8a48c73603fa220a4141973d4885ad7bc4
|
|
| MD5 |
b6f5465e0e2bde6bee82071a551ba474
|
|
| BLAKE2b-256 |
aec1cdab50d2f9405d3d54affd3b52664fd323a71c887d9e60920c3fcca6c95a
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 7.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 |
210e2e848c10b48125be9ce4f240ec0140140f478cc35180efef7112ba380bff
|
|
| MD5 |
20c2c64b3e05b22f7224f307f0380c30
|
|
| BLAKE2b-256 |
012b8c5548a89b4a2674e5a3c9f11eda8279471f1ec23d1a4e2d6f6cad2f47a6
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 6.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 |
e1f9c3f9d9e9b50df990bb389c79a2ff35c33a0ce4e0b590fd883d8cdfa2b47c
|
|
| MD5 |
1af21de46319fbf509ef42ec800c7481
|
|
| BLAKE2b-256 |
0530c5f3626659fd9bcf612804723b6bb7c85025e53c190df6c764e9cd99d7b3
|
File details
Details for the file rlmesh-0.1.0b2-cp310-cp310-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rlmesh-0.1.0b2-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 6.9 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 |
90215d370a6112e1b19e1bd919d2de62ea6287d9a8d72ccb1d9964e9aa057ebb
|
|
| MD5 |
5078f97135518eb79b71d3207fe7f92e
|
|
| BLAKE2b-256 |
246bd435f4d209912f57fc156565398ed9972e7271c56c1fa1f17d26c95427aa
|