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

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

Built distribution (wheel)

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

Total release size: 70.2 kB

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

Download URL funasp-0.0.1.post30.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c632e78294162c7279be91903dc346ff29773c076e41cf6e8782fead78f54ff6
BLAKE2b-256 checksum
How to use checksums
8b8943862a03eeb4faa06f5a6f8b54190c120e9a85e8a19a777b7678a2f3eb0d
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.post30-py3-none-any.whl

Download URL funasp-0.0.1.post30-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2d9addb4fdcba4be9f01613663881132e10b9d6caf22e6da260e6f16aecb964
BLAKE2b-256 checksum
How to use checksums
47c32c1e52fb7e0be2550db5b8c839e04cfbd2c81ea9ba7b04584a52f208d50d
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