skip to navigation
skip to content

PyCLP 0.8

Interface to ECLiPSe CLP

Package Documentation

PyCLP is a Python library to interface ECLiPSe Constraint Programmig System.

This module try to implement a pythonic interface to ECLiPSe (alias easy to use) by compromising on a little bit on performance.

Major differences from ECLiPSe standard interface libraries

The main difference compared to embedded interface provided by ECLiPSe system is the persistence of constructed terms after calling the pyclp.resume (check 3.1.2 Building ECLiPSe terms ) function. In ECLiPSe standard interfaces compound terms are destroyed after resume while in PyCLP are stored in a reference that survives after resuming. PyCLP will destroy the reference only when python destroys the linked python object (garbage collection). This consumes more memory but now the python object and the related ECLiPSe object have the same lifetime.

Moreover, in the definition of the API I tried to take advantage of a common propety of python and ECLiPSe: both are weak typed languages.

Next steps

  • Extend functionality of set_option function
File Type Py Version Uploaded on Size
PyCLP-0.8.tar.gz (md5) Source 2014-02-08 101KB (md5) MS Windows installer 2.7 2014-02-08 280KB (md5) MS Windows installer 3.3 2014-02-08 277KB
PyCLP-0.8.win32-py2.7.exe (md5) MS Windows installer 2.7 2014-02-08 246KB
PyCLP-0.8.win32-py3.3.exe (md5) MS Windows installer 3.3 2014-02-08 241KB
  • Downloads (All Versions):
  • 18 downloads in the last day
  • 229 downloads in the last week
  • 1393 downloads in the last month