pyrddl

RDDL lexer/parser in Python3.
Quickstart
$ pip3 install pyrddl
Usage
Script mode
The pyrddl script provides ways to parse and inspect RDDL files
from the command line.
$pyrddl --help
usage: pyrddl [-h] [-v] rddl
RDDL lexer/parser in Python3.
positional arguments:
rddl RDDL filepath
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbosity mode
Programmatic mode
The pyrddl package provides an API for integrating RDDL parser
with your own Python package/project.
from pyrddl.parser import RDDLParser
# read RDDL file
with open(filepath, 'r') as file:
rddl = file.read()
# buid parser
parser = RDDLParser()
parser.build()
# parse RDDL
model = parser.parse(rddl) # AST
License
Copyright (c) 2018-2019 Thiago Pereira Bueno All Rights Reserved.
pyrddl 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.
pyrddl 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 pyrddl. If not, see http://www.gnu.org/licenses/.
Metadata
Release files for pyrddl 0.1.10
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 | |
|---|---|---|---|---|
| pyrddl-0.1.10.tar.gz | 30.7 kB | Without provenance | Details |
Release files / pyrddl-0.1.10.tar.gz
| Download URL | pyrddl-0.1.10.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea7e82664b64b885db75eab25a7b87678ae5128ba762268fce4dd1aaf38b4acf
|
|
BLAKE2b-256 checksum How to use checksums |
cd67904c3ef3a8ce9e6a388759615ac64e45162b1e2deff67bc827e78de46be9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for pyrddl 0.1.10
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.