Skip to content
forked from yuce/pyswip

PySWIP is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.

License

Notifications You must be signed in to change notification settings

ML-KULeuven/pyswip

 
 

Repository files navigation

PySwip

This is a fork for that is used in DeepProbLog to support approximate inference.

SWI-Prolog

The most recent version of SWI-Prolog breaks this version of PySWIP. For Ubuntu, you can install version 8.4 from the official PPA (https://www.swi-prolog.org/build/PPA.html), using the following command:

apt-get install swi-prolog=8.4* swi-prolog-nox=8.4* swi-prolog-x=8.4*

About

PySWIP is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%