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.2.tar.gz (288.0 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.2-py3-none-any.whl (322.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clinguin-2.8.2.tar.gz
  • Upload date:
  • Size: 288.0 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.2.tar.gz
Algorithm Hash digest
SHA256 9fc65fe3f989a2423f9a0b3b7f9222a2b0e79a9a68ef30db4d71b99e82e0416e
MD5 dc12e4376153e5b423ba72873830aa34
BLAKE2b-256 ad7e67a7c926100d422ebcb8bb03ccf655f82eabfc7c6b294668f41724fb3766

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clinguin-2.8.2-py3-none-any.whl
  • Upload date:
  • Size: 322.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd3040fc639d58baa97a6341a9c90b642b24893b9be1488fdd2286a30e5c397a
MD5 7e22a1f7cc771e955b4a3f8b8ca0b6b9
BLAKE2b-256 f5d7ed97492692ab86831c1dd5cb904bcc3b8394111154a819d6a45c1c9745b9

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