PDDL symbolic library
Project description
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
Built Distributions
File details
Details for the file pysymbolic-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f287d13d0082cae62b0c815932db12ff4282a755159bae1039510e7e5f922c1 |
|
MD5 | 3fc3206f4b6b185f02018795799943b7 |
|
BLAKE2b-256 | 66ed2153f5ea0778ff95bf10f9c5c2967c486920e0b8956823f45477a3b2a1d7 |
File details
Details for the file pysymbolic-1.0.0-cp310-cp310-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp310-cp310-macosx_10_14_universal2.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3d11444b09ae68ddd43411fd72dc50f0e435bacdc839cfee6b4f9228c027bad |
|
MD5 | 9f8e91b56ce70a3eea3c36197201b1bd |
|
BLAKE2b-256 | fe5dc94a0d67b65ae10e07113948b3596e3558600e5459fd80d0be670fcfb991 |
File details
Details for the file pysymbolic-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12078b921fbf9ee0314c98c0b43659bd630343d1d60a5fc0ad0673b9303b6773 |
|
MD5 | 7540cccf4c4d74e46f068564cb523b22 |
|
BLAKE2b-256 | fb87a240fb4958830d4503a31ec4fafaf8a91609a8a2d2341a0fdd1906c6f9f9 |
File details
Details for the file pysymbolic-1.0.0-cp39-cp39-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp39-cp39-macosx_10_14_universal2.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7617cbd6ae80330506f3c30c1edde7dd66670d4c89102e1356913e7b902c7443 |
|
MD5 | 1fb6630b590f914f4cba30fbd78694fb |
|
BLAKE2b-256 | 4b518de3b8375f54bb989fd04f50b3597156c08344b0e180911eb9a5b091d256 |
File details
Details for the file pysymbolic-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b16fe8ddba2514ed2c8b8a752811b337646e91281c922a4686898f218239196 |
|
MD5 | c4c8ff6eefc1afc9990e365f8a6d51da |
|
BLAKE2b-256 | a2d60dccdd922b4506b616344e64e458818e807ce821bb0dd77659afd1e378aa |
File details
Details for the file pysymbolic-1.0.0-cp38-cp38-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp38-cp38-macosx_10_14_universal2.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530835f98fe90342dc72d8f869f80c87f83fdc24ea207e1127105f9958f1d601 |
|
MD5 | 06a32449739d63039285e65e38d6a1cf |
|
BLAKE2b-256 | c0e21d63281cb7533d6643d62c3ac1bf188e42a4bf8c2d49218467d2777badb8 |
File details
Details for the file pysymbolic-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d8451cad1cc0444a62056c819b6b19821d5e1e5cfe7241707bb39145d2120c |
|
MD5 | a2d90469ad863801e1a3b4dacc44f526 |
|
BLAKE2b-256 | 277780e6954248949804cb277430ca7a9fc07f8f87d783f4782d5d9e9b6f5f6f |