An interactive visualizer for clingo
Project description
Clinguin
Clinguin enables ASP developers to create interactive User Interface (UI) prototypes using only ASP. UIs are defined as sets of facts, which are then rendered to provide continuous interaction with the ASP solver clingo based on user-triggered events.
Your UI definition would look like this!
elem(w, window, root).
elem(b1, button, w).
attr(b1, label, "Button 1").
when(b1, click, call, next_solution).
Usage
Look at our documentation page to see how to use clinguin.
Examples
Our examples folder shows how to use the range of functionalities in different applications.
Extensions
Integration with different applications
Clinguin includes a wide range of clingo functionalities such as multi-shot solving, theory solving and more! It also has extensions for interacting with clingraph graphs and providing explanations.
Is clinguin missing something for your application?
No worries! Clinguin can be extended with different functionalities and even frontend languages, take a look at this guide.
Installation
Requirements
- Python (version 3.8, 3.9, or 3.10)
For instructions to install from source, pip and conda see our documentation page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file clinguin-2.1.1.tar.gz
.
File metadata
- Download URL: clinguin-2.1.1.tar.gz
- Upload date:
- Size: 212.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726c85ba8708474bb9206d8e8bfb229a08543f081ca1d419312080e5b8cade00 |
|
MD5 | 6837966e6494be4895add1fa9d6a7b6a |
|
BLAKE2b-256 | 50d86bf2e64e0140e99fa03913ff40689705702e1a252ebd8fd3b01dffb95f60 |
File details
Details for the file clinguin-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: clinguin-2.1.1-py3-none-any.whl
- Upload date:
- Size: 245.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef8307947ccd3dec961d2c9b9859d43ecfadbb9e7b06803ae49705e5032ca92 |
|
MD5 | f6a55e392554c92f619847210a2e1e13 |
|
BLAKE2b-256 | c843a7feb3577963b0cadacacc5daa32c3b41e2e6b95193224c88e2909181bc0 |