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.3.tar.gz (288.1 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.3-py3-none-any.whl (322.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clinguin-2.8.3.tar.gz
Algorithm Hash digest
SHA256 1bfa25b8b6ed084c5c44f3b153701a089b6bac5d3e084668a5b532f25563aed8
MD5 e12b9244e271736a20f7e69a9f424242
BLAKE2b-256 8805be19dc1e153244359bef1aa4aaf239f8fd44d08f3a9c3e86006209f795c8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clinguin-2.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 824170c51885240c61c5918ce592636ea853e303e05ef8f6c12e742aeee93ba9
MD5 6a069fda9a475d28b7ac5f8408d2e504
BLAKE2b-256 588ea776c920904f5991b2c857edcb96e1591a3e1eb05789cc17d3011dc8df99

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