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.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | 6551e9251fb6e4f42e91c0b43b7df2934d39201ec55855393cb6088e75e03202 |
|
MD5 | bf379d15255cec3dceaaad81211e0a0b |
|
BLAKE2b-256 | 9a10c96ed295d1eda62cf5c0f3780ca1e5cc023430a8dd909e9db101f0f5ef1d |
File details
Details for the file pysymbolic-1.0.1-cp310-cp310-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | cdccab60cfd7151cdfb348a4c30ef82f1fac3ef8e2f610ff659dd178d3d8bebf |
|
MD5 | 13dfdf9d35ec7655a0696107f282c736 |
|
BLAKE2b-256 | 38a8aac01f97cd1a7b7ec35472adccd710c082e4d2bfb0f0816d6ffa48d84e51 |
File details
Details for the file pysymbolic-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | 235d9df88662a4348bf77fffeb2f8797ad8ada082ac73881dac7dc1de48bbad3 |
|
MD5 | 954c10173d4f3d16b8af9fcb1981f370 |
|
BLAKE2b-256 | afe667059b6e1019d6b6e0eee61857abeedba6e224245c327bed45946380a72e |
File details
Details for the file pysymbolic-1.0.1-cp39-cp39-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | bb58cfe2751270e086019110b75a9465b6250a639c7caaf41f8d6d3bb0dd863b |
|
MD5 | 3b0a34b2c66151c314c561d964daa887 |
|
BLAKE2b-256 | 7b8b1498770681372a4fcd072ed491840708502e66d09861e249139e7133f8fe |
File details
Details for the file pysymbolic-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | 9d3fcd9fd376b4d677b60f2ce8352e0a8c692484357a80a551572b8e0166aa82 |
|
MD5 | 1277d59f5fc6b7040c319746f1f2d39b |
|
BLAKE2b-256 | 3434cb5579e562079b01b2472f8055f955341b538cd6991bab689af92c703828 |
File details
Details for the file pysymbolic-1.0.1-cp38-cp38-macosx_10_14_universal2.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | c2dac7fbd67b61ed08f9ef26a88aebc2f3ad6083193c33efbe6a6de6c8c1afaa |
|
MD5 | 2f516b7902f463af26d7041963601f18 |
|
BLAKE2b-256 | 27eee960280da22b15ff9eed1fbbec0e546e1a2ba7e008e411bf70d57fd21167 |
File details
Details for the file pysymbolic-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysymbolic-1.0.1-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 | 7346e6df739a6c417f0f5cde6d42bbe25413c3c845fcb61be0342aeaf1137594 |
|
MD5 | 490aa1cb349555db3f536fa8ea7fa5b1 |
|
BLAKE2b-256 | e18cf65c8682a4115adb775e4337708d817e23bfeb54a8851307730d601fbe14 |