资 源 简 介
(Current version: 0.2.3)
2012-12-29 Version 0.2.3 released. It should work on 64 bit systems now.
2012-01-15 PySWIP is re-licensed under MIT License.
2012-01-15 Please note that, PySWIP is not ready for production use. It is not being maintained, and it won"t be in the near future. Please fork it if you would like to continue its development.
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.
Since PySWIP uses SWI-Prolog as a shared library and ctypes to access it, it doesn"t require compilation to be installed.
Requirements
Python 2.3 and higher.
ctypes 1.0 and higher.
SWI-Prolog 5.6.x and higher (not the development branch).