rddlgym: A toolkit for working with RDDL domains in Python3.
Project description
rddlgym 
A toolkit for working with RDDL domains in Python3.
Quickstart
$ pip3 install rddlgym
Usage
rddlgym can be used as a standalone script or programmatically.
Script mode
$ rddlgym --help
usage: rddlgym [-h] [--rddl RDDL] [-v] {list,info,show}
rddl-gym: A toolkit for working with RDDL domains in Python3.
positional arguments:
{list,info,show} available commands
optional arguments:
-h, --help show this help message and exit
--rddl RDDL RDDL id
-v, --verbose verbosity mode
Programmatic mode
import rddlgym
model_id = 'Reservoir-8'
# Get raw RDDL model
raw = rddlgym.make(model_id, mode=rddlgym.RAW)
print(raw)
# Get a RDDL parser
parser = rddlgym.make(model_id, mode=rddlgym.AST)
# Get a RDDL2TensorFlow compiler
compiler = rddlgym.make(model_id, mode=rddlgym.SCG)
License
Copyright (c) 2018-2019 Thiago Pereira Bueno All Rights Reserved.
rddlgym is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
rddlgym is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with rddlgym. If not, see http://www.gnu.org/licenses/.
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 Distribution
File details
Details for the file rddlgym-0.5.11.tar.gz.
File metadata
- Download URL: rddlgym-0.5.11.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
655f140bc3ea8436dceb7aab5bae759fa36b7f4abb0604fef2dde550bc26acbd
|
|
| MD5 |
a4bd2c3af30fc632dac1f8a3ce3b7ba2
|
|
| BLAKE2b-256 |
4d053879330c8439de784e0df3817cdd0abf763013eddbb33f4a2df64bdac823
|