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.6.1.tar.gz (284.8 kB view details)

Uploaded Source

Built Distribution

clinguin-2.6.1-py3-none-any.whl (318.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clinguin-2.6.1.tar.gz
Algorithm Hash digest
SHA256 2023561dc1a25efe7f758b7fd737a77ca416dc775f3336722dc7cf94d9bd0dfe
MD5 a21ce748cc244760f86141fb8bdf631c
BLAKE2b-256 223799d4d1d1de6eb35a9364627c5f818b77f17ce1d53b1bb2c17b2aa2f2da70

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clinguin-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce895d0a86df3f4c3b3f0f8d1c92d0f114bbf7bdf1d152a294646b6063f38a5f
MD5 617271028450a2d45e42cc72a099de73
BLAKE2b-256 9a5b496de75fd4c735e1bab669ea6c7d803a29bf7a98cb06510c676f63a9378c

See more details on using hashes here.

Supported by

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