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

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

Built distribution (wheel)

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

Total release size: 70.2 kB

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

Download URL funasp-0.0.1.post34.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
95b3ba2985a2dbe7c06c61f8ca756c6decef90d772147cc937156e62c91f0db8
BLAKE2b-256 checksum
How to use checksums
96376854b2236800fefcb3b969e746a1396ed354d0fcb9f97f8814a6c45baa81
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.post34-py3-none-any.whl

Download URL funasp-0.0.1.post34-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3432834e1912e448268452177c5fc307560442c16208796f25d8535463d7e498
BLAKE2b-256 checksum
How to use checksums
e41e6bb2b19c91869e550c9a14aa6b74ff85149515a062b6d59091b44be67c40
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