Skip to main content

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 by a fronted to provide continuous interaction with ASP solvers 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clinguin-1.0.0.post1.tar.gz (212.8 kB view hashes)

Uploaded Source

Built Distribution

clinguin-1.0.0.post1-py3-none-any.whl (246.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page