Skip to main content

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

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

Documentation

PyCLP pythonhosted documentation

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 property of python and ECLiPSe: both are weak typed languages.

Next steps

  • Add support for multi-engine/multi-thread

  • Extend functionality of set_option function

Download files

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

Source Distribution

pyclp-2.0.0.post3.tar.gz (306.8 kB view details)

Uploaded Source

File details

Details for the file pyclp-2.0.0.post3.tar.gz.

File metadata

  • Download URL: pyclp-2.0.0.post3.tar.gz
  • Upload date:
  • Size: 306.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10

File hashes

Hashes for pyclp-2.0.0.post3.tar.gz
Algorithm Hash digest
SHA256 a1808dd11565934ca8436a9db03af98df609d797fba8a3c2c179a6ce0f20c43c
MD5 6faa6f0b64a443c5a5a0dac7a8671390
BLAKE2b-256 2bd1f8dd81f4962a8e5ec52f68889721585fcffb93bab4452656780ecfe0b6eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page