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.
Metadata
Release files for pyswip-notebook 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyswip-notebook-0.1.1.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyswip_notebook-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / pyswip-notebook-0.1.1.tar.gz
| Download URL | pyswip-notebook-0.1.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
309d0bb70b0b664324b266420788a62b2d2c2b2f0c1ce8f500553b9134a2a152
|
|
BLAKE2b-256 checksum How to use checksums |
b38d580b07fd84cf6a7808640d86ec73703bc6ab57eb411b973815f6fe8e04de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / pyswip_notebook-0.1.1-py3-none-any.whl
| Download URL | pyswip_notebook-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5780ca484464154ccbab891459b76b5ed7c91e5b360c3c3c80b0a0213eab452b
|
|
BLAKE2b-256 checksum How to use checksums |
5a1e2bd9c3e22c4bb6fcd0ab1baf29b8919e4f7d92344fc8feec65932531136e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|