Skip to main content
# pyrddl [![Build Status](https://travis-ci.org/thiagopbueno/pyrddl.svg?branch=master)](https://travis-ci.org/thiagopbueno/pyrddl) [![License](https://img.shields.io/aur/license/yaourt.svg)](https://github.com/thiagopbueno/tf-mdp/blob/master/LICENSE)

RDDL lexer/parser in Python3.

# Quickstart

```bash
$ pip3 install pyrddl
```

# Usage


## Script mode

The ``pyrddl`` script provides ways to parse and inspect RDDL files
from the command line.

```bash
$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
into your own Python package/project.

```python
from pyrddl import RDDLParser

# buid parser
parser = RDDLParser()
parser.build()

# parse RDDL
rddl = parser.parse(rddl)
```

Download files

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

Source Distribution

pyrddl-0.1.0.tar.gz (34.9 kB view details)

Uploaded Source

File details

Details for the file pyrddl-0.1.0.tar.gz.

File metadata

  • Download URL: pyrddl-0.1.0.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pyrddl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7a24a3da782a0ff7eb8e9872db00af3eae7908a82b48e4c979f6cb7088dbc66
MD5 f7ddb74662fa99a7a34c9e85f9f84f28
BLAKE2b-256 b13d3fa29efed456b9bac4b0760c889581171f5273f990cd833249ee121b54aa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.10

1 file

0.1.9

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

This release

0.1.0 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page