Skip to main content

Funasp = Clingo + intensional functions

funasp extends clingo 6 with intensional functions that can be defined by the user. The major new syntax expression of fasp are assignment rules. The following is an example of an encoding of the graph coloring problem in funasp:

color(X) := #some{r;g;b} :- country(X).
:- neighbor(C,D), color(C)=color(D).

More examples can be found in the folder examples.

Funasp installations

conda create -n clingo6 python=3.13
conda activate clingo6
conda install -c potassco/label/dev-20 -c conda-forge clingo
git clone https://github.com/krr-uno/funasp.git
cd funasp
git pull
pip install -r requirements.txt
pip install -e .
funasp examples/family.lp

Metadata

Release files for funasp 0.0.1.post32

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

Source distribution (sdist)

Source distribution for funasp 0.0.1.post32
File Size Uploaded
funasp-0.0.1.post32.tar.gz 32.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for funasp 0.0.1.post32
File Interpreter ABI Platform
funasp-0.0.1.post32-py3-none-any.whl Python 3 none any Details

Total release size: 70.2 kB

Release files / funasp-0.0.1.post32.tar.gz

Download URL funasp-0.0.1.post32.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0d64375f2607b508e25d824893a9cc59810fffbb6de3bd46410f61650fec2358
BLAKE2b-256 checksum
How to use checksums
0292b0a44a0d6c296b6c35c0ee67af2acaf0774b04ad3e81a52b25160ca643fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.

Transparency log

Release files / funasp-0.0.1.post32-py3-none-any.whl

Download URL funasp-0.0.1.post32-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae89190152a34beefd2045b96807b5dd1e6f8da0a94858e8663ce4684e5eb41a
BLAKE2b-256 checksum
How to use checksums
7fffbbede3480ca3b0a4e2e265af5a1f1bbc57a4eee1a03546ebc50c49d06eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.

Transparency log
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