RLay
RLay (pronounced like "relay") is a tool that enables building Gymnasium environments with ~any language or software toolkit.
The main inspiration is interfacing with games built in powerful engines like Unity and Unreal. Adding a client or a server in the environment code will expose it for interaction with the standard Gymnasium API.
There are two possible paradigms -- the environment runs either as a server, or as a client.
ClientEnv has a relatively intuitive interpretation. The server maintains an instance of the environment,
and calls its methods according to the MemServer calls. The user (or the RL algorithm) calls the methods of ClientEnv,
which in turn calls the MemServer methods on the server.
ServerEnv works the other way around. It expects that the user creates a server which implements a policy, and the environment lives in a client which can query that policy. When the client queries the server, it sends an observation, and receives the following observation.
In summary, in ClientEnv:
- The underlying environment logic lives on the server
- The
Envinstance exists in the client - The algorithmic logic is in the client
In ServerEnv:
- The underlying environment logic is in the client
- The
Envinstance exists on the server - The algorithmic logic is on the server
The ServerEnv implementation is inspired by ML-Agents, but we generally recommend using ClientEnv.
Protocol
ClientBackend - ServerEnv:
- Handshake -- server sends a message, client sends a message
- Server sends a message to hand over control
TODO: finish this
Metadata
Release files for rlay 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rlay-0.0.1.tar.gz | 8.8 kB | Without provenance | Details for rlay-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rlay-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for rlay-0.0.1-py3-none-any.whl |
Total release size: 19.3 kB
Release files / rlay-0.0.1.tar.gz
| Download URL | rlay-0.0.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f908ab1fcd1b1f91c74c8f7c30e05506ab6b5846a73f8e8c322ab346f76980f0
|
|
BLAKE2b-256 checksum How to use checksums |
c26900712fa207f1916caf885774f3c54c26497b68a0743f13b3c7d727aca5d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.3
|
Release files / rlay-0.0.1-py3-none-any.whl
| Download URL | rlay-0.0.1-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdfadab84a4cf783e5b46c5b881406cc1136ded695ddcea9cd620e126a38027a
|
|
BLAKE2b-256 checksum How to use checksums |
0c738803091f07bbb0b71f7a482b3735629efa7832a350d12c2cf0daa841521e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.3
|
Security for rlay 0.0.1
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.