Skip to main content

PDDL symbolic library

Project description

Builds Tests Docs

symbolic

symbolic is a C++/Python library for parsing and manipulating Planning Domain Definition Language (PDDL) symbols for AI planning. This library is built upon VAL, a C++ library for validating PDDL specifications.

See the documentation for symbolic here.

Installation

The Python library can be installed via pip:

pip install pysymbolic

To compile the C++ library, follow the instructions below.

This library is written in C++ with Python bindings automatically generated with pybind11. It has been tested on Ubuntu 18.04, Ubuntu 20.04, and macOS 10.15 Catalina.

Compilation requirements:

  • cmake >= 3.11
  • C++17 support (gcc >= 7, clang >= 7).

See Updating CMake for details on how to install the latest cmake. Ubuntu 20.04 comes with a sufficient version of cmake out of the box.

C++ only

The C++ portion of symbolic is header-only, but to add symbolic as a cmake dependency, you can run the following:

mkdir build
cmake -B build

Python only

Use pip to install symbolic in your virtual environment.

pip install .

You can now import the symbolic package in Python.

import symbolic

C++ and Python

An in-place pip install will run the appropriate CMake command to build symbolic locally in the ./build folder. This will give you access to the cmake configuration files for C++ as well as the symbolic package in Python.

pip install -e .

Updating CMake

Ubuntu 18.04

The simplest way to install the latest version of cmake is through pip:

pip install cmake

You can also install it through apt:

sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates gnupg wget
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
sudo apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update && sudo apt-get install -y cmake kitware-archive-keyring
sudo rm /etc/apt/trusted.gpg.d/kitware.gpg

macOS

Install cmake through Homebrew:

brew install cmake

Or through pip:

pip3 install cmake

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 Distributions

pysymbolic-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pysymbolic-1.0.2-cp310-cp310-macosx_10_14_universal2.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 10.14+ universal2 (ARM64, x86-64)

pysymbolic-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pysymbolic-1.0.2-cp39-cp39-macosx_10_14_universal2.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 10.14+ universal2 (ARM64, x86-64)

pysymbolic-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pysymbolic-1.0.2-cp38-cp38-macosx_10_14_universal2.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 10.14+ universal2 (ARM64, x86-64)

pysymbolic-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file pysymbolic-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b3dd1596599b8014d009b4f8453c76e12795175a48e5e491c028a43495fa1346
MD5 56903cacbf02e3e2cf1003c25038c3b3
BLAKE2b-256 ced335236e3cab939a8657408f8a078674e0aa975ec7adda853d2ec8a9c500c7

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp310-cp310-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp310-cp310-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 eb64b0d7ed685220ba804a6533d2f6333644b6c4cfdb3d28cf1e4712bd580a3c
MD5 f6236286a29e33da07b4b55169b6ba2c
BLAKE2b-256 8aaf308cf584d11c8cc5f33cd492d22fe1cbbc993793cb5c5428c9650b2a1ff6

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9355a204c738e537222cfe5eb4761dc846b7e57c1dda08962e7742481f9b961
MD5 2522f02f3df7a098bd82aa6a3721052d
BLAKE2b-256 e232efc3c030c1df5f44f271a98ec7b56f9f69e6cfa521d1d150f57007b4a55e

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp39-cp39-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp39-cp39-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 817317c5177399edca0c5a23b31241715b8b3e652ba4dbba7c5884790aa1ac36
MD5 f6162a9e49b72bb42d9e5b5927eafe4a
BLAKE2b-256 674c6a8bee9da1e34045a96c14f543859c9e29761cbff8b3386d3a9a56ed8a64

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ca4b45fd6658001d38b1f8f269f8456a14525c565c7454146327c62271b3b68
MD5 fb669959b59b78c9e0ed9dd04c694ddc
BLAKE2b-256 bf5b98ea02e410f5ce1af0ce5b6c01906386360fbf97e2702673ab5214e279f4

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp38-cp38-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp38-cp38-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 7df725067d03a49bc2486b6dcad89f92ee5d7b453e0f9356e8631757c6347343
MD5 f5ac331f37afae8e78bb2739925a2c91
BLAKE2b-256 813ed560134174dfb1e56d19fd53703589ab8a8913deb629443d2b473c28186a

See more details on using hashes here.

File details

Details for the file pysymbolic-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pysymbolic-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b939f93a70352071393acd725f62d19d9a52aab076859b8e51c18f571372c7e
MD5 c952f451b9feef4987257b99d6175782
BLAKE2b-256 5c38d7ac49fb8379c3af7a8d69512894b08c622678bac5d88a11f237ff288a39

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page