Python PDDL parser
Project description
A PDDL library that, by using an ANTLR 4 grammar to parse PDDL files, provides a very simple interface to interact with domain-problems. This library publishes one object class whose API exposes methods for obtaining:
The initial state.
The goals.
The list of operators.
The positive and negative preconditions and the positive and negative effects.
The _grounded_ states of a given operator (grounded variables, preconditions and effects).
This is enough for the user to focus on the implementation of state-space or plan-space search algorithms.
The development of this tool was inspired from Univerty of Edinburgh’s Artificial Intelligence Planning course by Dr. Gerhard Wickler and Prof. Austin Tate. The terms used in this API (and the API itself) closely resembles the ones proposed by the lecturers.
As of today it supports Python 3.11 and up.
The orginal grammar file was authored by Zeyn Saigol from University of Birmingham. I cleaned up it, made it language agnostic and upgraded to ANTLR 4.
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 Distributions
Built Distribution
File details
Details for the file pddlpy-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: pddlpy-0.4.4-py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c28f3a320d8bfbc481fa6d32b0e418ec4099aa7aa5fef2a852b3f11036bd7a |
|
MD5 | 86bb57a4a0aefdf50829d506c157aab9 |
|
BLAKE2b-256 | 495ac451f1d0b7a6dd9467e5549e1b58050ae7231689028c48d4d7d279f96c71 |