Skip to main content

Interface to ECLiPSe CLP

Project description

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

Project details


Release history Release notifications

History Node

1.0

This version
History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
PyCLP-0.8.tar.gz (103.6 kB) Copy SHA256 hash SHA256 Source None Feb 8, 2014
PyCLP-0.8.win32-py2.7.exe (252.6 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Feb 8, 2014
PyCLP-0.8.win32-py3.3.exe (247.4 kB) Copy SHA256 hash SHA256 Windows Installer 3.3 Feb 8, 2014
PyCLP-0.8.win-amd64-py2.7.exe (287.2 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Feb 8, 2014
PyCLP-0.8.win-amd64-py3.3.exe (284.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.3 Feb 8, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page