Skip to main content

Introduction

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

Metadata

Release files for pyclp 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyclp 2.1.1
File Size Uploaded Provenance
pyclp-2.1.1.tar.gz 373.9 kB Without provenance Details

Release files / pyclp-2.1.1.tar.gz

Download URL pyclp-2.1.1.tar.gz
Size 373.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8b59dca2714b87272e78e05813858c9dce2b98b2694b785135556c275a36eddc
BLAKE2b-256 checksum
How to use checksums
09fd881fa14ec4fa5096b2c7ab0367bb6211970150ca4b54e2a3c2d4636f261e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Windows/11

Security for pyclp 2.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page