· Регистрация 
софт скрипты драйвера форумы блоги  
Пример: windows
Софт
Новости софта
Обзоры
Статьи
Авторам
Софт
Mac Linux PDA/Mobile
Linux Наука и проектирование Искусственный интеллект

Страница программы PySWIP 0.1.3

PySWIP is a Python/SWI-Prolog bridge that enables you to query in prolog using SWI-Prolog in your Python programs.


  Описание программы   Комментарии (0)   Скриншоты (0)   Файлы (1)  
АвторYuce Tekol
СайтПерейти
Обновление31.05.2007, 22:35
НазваниеPySWIP
ВерсияPySWIP 0.1.3
ЯзыкиАнглийский
ЛицензияGPL (GNU GPL)
СтоимостьБесплатно
СистемыLinux
Размер?
Рейтинг
Голосов: 2

Скачать бесплатно PySWIP
Закачек: 1
найти или купить на Allsoft.ru
софт в Allsoft.ru 




Описание программы PySWIP
PySWIP application is a Python/SWI-Prolog bridge that enables you to query in prolog using SWI-Prolog in your Python programs.
· Ключевые особенности и характеристики PySWIP 0.1.3
Не определены
· Ограничения PySWIP 0.1.3
Ограничения не определены
· Специальные требования PySWIP 0.1.3
· Python 2.3 and higher (most probably other versions will also work).
· ctypes 0.9.9.9 and higher (most probably other versions will also work).
· SWI-Prolog 5.6.x and higher(most probably other versions will also work).
· libpl as a shared library.
· Tested only on Linux, should be working for other POSIX and Win32.

Installation:

PySWIP should work on Win32 systems, but this isn't tested. The instructions below are for POSIX systems.

+ First of all, you need to have SWI-Prolog's libpl as a shared library, e.g., ``libpl.so``, ``libpl.so.5.6.34``, etc. SWI-Prolog isn't compiled by default to enable shared library, so you need to compile it yourself with shared library production enabled. Please see ``INSTALL`` of this package.

+ Install a recent version of `ctypes` if you don't have it already (if you have Python 2.5 you don't need to install it seperately).

+ PySWIP supports distutils, so after the previous steps are satisfied, just do: `python setup.py install`.

+ To test, do the following at the shell::

$ python
[ ... python info ...]
>>> from pyswip.util import PrologRunner
>>> prolog = PrologRunner()
>>> prolog.query("assertz(father(michael,john))")
[{}]

If you get an error, such as "libpl (shared) not found." or "FATAL ERROR: Resource not found" be sure you have installed SWI-Prolog as a share library. Check your default library directory (usually ``/usr/lib``) for ``libpl.so``.
· История версий и изменений PySWIP
Версия: 0.1.3
· This release adds a new module to use SWI-Prolog FFI more easily.
· Starting with this release, it is possible to register a Python function as a Prolog predicate through SWI-Prolog's FFI.
· The core module has been improved.
· A few example programs have been added to demonstrate registering foreign functions, including a "Towers of Hanoi" solver.
· Описание и дополнения от редакторов и пользователей сайта
Пока нет
Связанные статьи, обзоры и новости
Нет относящихся к программе статей и обзоров.


Другие программы от Yuce Tekol

DBConsole 0.6.7
DBConsole is a GPL'd database shell written in Python.
24.05.2007, 08:31 | ? | GPL (GNU GPL) | 0

     
Похожие программы

Fast Genetic Algorithm 1.2.1
Fast Genetic Algorithm is a simple yet powerful implementation of a general genetic algorithm.
27.05.2007, 07:35 | ? | LGPL | 2


PyGEP 0.2.1
PyGEP is a simple library suitable for academic study of GEP.
17.05.2007, 05:35 | ? | GPL (GNU GPL) | 0


SlpTK 0.6.0
SlpTK is an ANSI C library, a set of utilities, and scripts for natural language processing.
27.03.2007, 02:59 | ? | GPL (GNU GPL) | 0


MARGO 0.7a
MARGO project is an Argumentation Framework for decision making.
13.03.2007, 01:35 | ? | GPL (GNU GPL) | 1


GPalta 0.3
GPalta is a genetic programming toolbox that aims for simplicity and speed.
26.01.2007, 06:35 | ? | GPL (GNU GPL) | 0

Разделы