Skip to main content

Python PDDL parser

Project description

This is a PDDL parser library using an ANTLR 4 grammar that 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 Edimburgh’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 only supports Python 3 but I plan to give support to .NET and Java languages. While project name is pddl-parser to emphasize its language agnosticy each target library has its own name. For Python is pddlpy.

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pddlpy-0.1.3-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file pddlpy-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pddlpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec5bf7b526aae37fcc5c89711696af1f2431b82a694596bd05179daf51ba26ba
MD5 281b4c186f86eb3299bb9d116c35a401
BLAKE2b-256 3dd8023a1955ab90c2d558c4b09ae52093ac62c93a13db8cc8012163452090fe

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