Wrapper around the pyswip prolog interpreter to make it useable from within jupyter notebooks.
Project description
Pyswip-Notebook
This package makes the python-prolog-bridge pyswip useable from within a jupyter notebook environment.
For each instance of the new IsolatedProlog
-class will spawn it's own prolog-module (like a namespace) and multiple instances (also when a cell is executed multiple times)
will be isolated from one another.
Installation
Dependencies
Follow the installation instructions for pyswip here to install a prolog interpreter for your operating system.
Using pip
pip install pyswip-notebook
From source
git clone https://github.com/mortacious/pyswip-notebook.git
cd pyswip-notebook
python setup.py install
Usage
See examples/example.ipynb
for usage examples.
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 Distribution
pyswip-notebook-0.1.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for pyswip_notebook-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49448c888baa95f20fa006753fb846526916f79bdd3469414e29cdfbe94fdaa |
|
MD5 | 39703163a9ac3d9f5efadb86a8c197d0 |
|
BLAKE2b-256 | 4290d69ad0bf6dc707e5df4966c1f1943a95e525513698ee740dcd85e636150d |