Skip to main content

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

Project details


Download files

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

Source Distribution

sasrl-env-1.4.0.tar.gz (23.3 kB view details)

Uploaded Source

File details

Details for the file sasrl-env-1.4.0.tar.gz.

File metadata

  • Download URL: sasrl-env-1.4.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for sasrl-env-1.4.0.tar.gz
Algorithm Hash digest
SHA256 7108c21552d9c57348530cbb91f22e84c3169be9148da2443d47cd2f89ac6357
MD5 be935b2f054777298356bca3bb756929
BLAKE2b-256 9454fc868b9d2b84849eb3ce29827e88b573eb8f71bdfc4f011944cbfe865a89

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