Skip to main content

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, and Torch users.

Beta: pin versions for active projects. 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 and the NumPy client adapter:

pip install --pre "rlmesh[gymnasium,numpy]"

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rlmesh-0.1.0b3-cp311-abi3-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.11+Windows x86-64

rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ x86-64

rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

rlmesh-0.1.0b3-cp311-abi3-macosx_11_0_arm64.whl (7.4 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

rlmesh-0.1.0b3-cp311-abi3-macosx_10_12_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

rlmesh-0.1.0b3-cp310-cp310-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.10Windows x86-64

rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

rlmesh-0.1.0b3-cp310-cp310-macosx_11_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

rlmesh-0.1.0b3-cp310-cp310-macosx_10_12_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: rlmesh-0.1.0b3-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 870ad86683aa51ba7c4bf5b9df5ec2c9b7d55c6b5578c38eec34fc640a17e201
MD5 c49679a6c9a7f9068c1ebe9a53c7053e
BLAKE2b-256 1e00a967274814b584df84525836226835d55f0d2e52707536adfbe3d31be7c0

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 203fd6241c8bca361bb45a7559ae363fbf892a44be4d5620f8f9320ba3d9369d
MD5 dccdd6565ada1fdb333942af9dea4a4d
BLAKE2b-256 667e7afacc16192a880eb7432351defee8d47fc66ef78b6d589e97844ed20cb2

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 821b5cce41b75963e6183c0d003ab1a600f3418815f200547c6d953e33d53dae
MD5 0f4f74bc281e260c93afa17ecb0c3e99
BLAKE2b-256 ef92eae74a67debe09e4ba1007f5063161d186ba2eefab54a3ad2ef6da13072c

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 447a9371697ad96337f7e6c0609f4bc87131e0aa075f487ebfe00ce7c190f1ff
MD5 0cb5b79e64e4f02c1e793dbf9a6fd629
BLAKE2b-256 42ca33884e02ea5584173267bb2895da62582a5f2c34a316a5b73122d9e023d1

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cbf1057da92965472b6c8488d492a22d1323b52f5303456c3ad28064bff11bfa
MD5 7668518f2c243ce2cfce3b77b9489fe2
BLAKE2b-256 bf618d9543bdd898119b50c5f8334480b3c42a5e1f4a2ce1bbd0092fe9386866

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c2655ad80de1a8eb508e5e767623f8b63726877948294388d532dba5ab61aaf
MD5 491d5f5bcbdeb2d1e56ad5e044ccc27e
BLAKE2b-256 564c988e2bd2566500153604f8db22a03aee2378ec95dfd8d75da4590bb67c84

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 346e44eeabbb31239ab4b8854835141377845dfffe0dd8a7354a612aa27d407e
MD5 131ed910c629d1823d113efb05ac74ac
BLAKE2b-256 eeb978e644d0c48c72769109e04db6dc82ad71b7220005e8712c485da06489d4

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ab1c50331b4d9ad8afb16fe2c3c07ad2d6c0671cee2b8390b30c9211480f3eb8
MD5 c7af9266c390b0fdb1ed0ea6e1b3706f
BLAKE2b-256 22411a215b308437a8592b0059b971a9c27d911af6eaf088c69c1a79a40718ed

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 801288c183c866eb350a2c95ca88605d13eacc02a01bcc67c1bfdff9bbae1055
MD5 628b3a25093febae81132cbd2d2fe941
BLAKE2b-256 82a44b19e6e3c8b139221aacb81a10b2978437ccecae4047a06e296c6b18f6fd

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e1c7f4759b5456239bc9432a836b5213b245a71570d1e66e03a783f4ddadf7c3
MD5 fe566e17c75f3b4444052f4541d3bb64
BLAKE2b-256 bcbde216edabeed088fafb4e908aa0948e113c8189638f9add003f4bfc32c988

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9fc1d2b15d759700aff3697558aefcce023147a564cfd53f23a5328a1ff75db
MD5 a4a20c435d2e2414535fd2b83b76414a
BLAKE2b-256 17fe704a59341c4f28df19dc0fa8ccfc5b7c08f46b471d57ee56f2f141c8da9e

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0143a3a54c1eecffa70e4b89d7b050506cb619d5d118a9e80c1357f3bed538e3
MD5 945fa23dbc16f913240b988ef536e214
BLAKE2b-256 c1a7a33cef4f59dad263279aea9ff23e18b2fa905ac4b02be6e1542de4d4b3e0

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26f5d0085e335e0465c3c67245f90a1404b60d5bb1094b4454a00884c584fff0
MD5 741a3cf81ad988b2dc8e02ef6179a17c
BLAKE2b-256 ab533963f064941518a2070869697612e75e4a954121578eeca87d7cc2ce9b91

See more details on using hashes here.

File details

Details for the file rlmesh-0.1.0b3-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rlmesh-0.1.0b3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22ea1c5e9662e2ff65859a22878ebb7b61a3aa54b1a7fabfe052f72d2613d49d
MD5 33501ff19d142d1de164c87f67d6fd5a
BLAKE2b-256 79a29e6956ebd2baaa2618e5ee2960b5d626e69783510a2a960647b8f1e0ce08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page