Generate protobuf files in python and C++ to be used for remote access to RL environment
Project description
sasrl-env
Overview
This package is used for communicating with a remote RL python environment of SAS customers. It uses the google remote procedure call (gRPC) to provide a fast communication.
Installation
The sasrl-env package needs to be installed using the following command:
- pip install sasrl-env
Starting an environment server
In the python environment, the installed package needs to be imported and started using the following lines of codes:
- from sasrl_env import runServer
- runServer.start(#PORT_NUMBER)
Notes:
- If you do not specify a port when running the server, the environment controller will assign an available port automatically.
- If the specified port is not free, it will increment the port numbers until finding the first available port.
Contributing
We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.
License
This project is licensed under the Apache 2.0 License.
Supported version:
We support Python >= 3.7
Dependencies:
- grpcio>=1.50.0
- protobuf>=4.21.9
- gym>=0.26.2
- typing_extensions>=4.4.0
Additional Resources
- Documentation links:
- Blog posts:
- SAS Communities
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.