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.post36

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.post36
File Size Uploaded
funasp-0.0.1.post36.tar.gz 48.0 kB Details

Built distribution (wheel)

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

Total release size: 104.9 kB

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

Download URL funasp-0.0.1.post36.tar.gz
Size 48.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2269f6a6c1d251006cb55b2745997e823762addea3b0d2ffe148459311170810
BLAKE2b-256 checksum
How to use checksums
69cbfeecfef5d5fdffaa157e3af8e6335ffeb0d973f97ccb244baae8723b9e0e
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 26, 2026.

Transparency log

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

Download URL funasp-0.0.1.post36-py3-none-any.whl
Size 56.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d6096ccbd9f6ad67e685467a447b94975c11c31277053af50c9fd4dbfd1423e
BLAKE2b-256 checksum
How to use checksums
f306f5daee513ee1735b923f1de5827b4fe7ca09480c5d9ee963270ca55b164b
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 26, 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