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


Download files

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

Source Distribution

clinguin-2.8.0.tar.gz (287.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clinguin-2.8.0-py3-none-any.whl (322.0 kB view details)

Uploaded Python 3

File details

Details for the file clinguin-2.8.0.tar.gz.

File metadata

  • Download URL: clinguin-2.8.0.tar.gz
  • Upload date:
  • Size: 287.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clinguin-2.8.0.tar.gz
Algorithm Hash digest
SHA256 9a65b960e740d5466f692d10b52f7526facec6aacc808cf20ce2b3b248ffb1c5
MD5 3192d617bd138ae05021762764029022
BLAKE2b-256 ddbaf8456210caf409cc4445da2d4b1eeee9e49394f7131dc53701f54e0d6d03

See more details on using hashes here.

File details

Details for the file clinguin-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: clinguin-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 322.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clinguin-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d695688f859bd28ad1956c7e38c2b4b4c4716b25c3e16ef0117fe03b5aafeb43
MD5 a320abd3a2c4017da81c9db427be668b
BLAKE2b-256 0cb60de99a40842ce304912b3d620aa347a636a78a15ad8353f56c0cd8244134

See more details on using hashes here.

Supported by

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