Skip to main content

Draw graphs using Answer Set Programming

Project description

Biseau

Build by Input Some Easy ASP from User.

Helps the exploration of formal structures by using ASP as a DSL for drawing graphs. For a Graphical User Interface, see the biseau-gui package.

For the initial version of biseau published in the FCA4AI'18 workshop at IJCAI, see the archived repository biseau-initial

Principles

Now, you may want to read about:

Export as standalone script

Currently under development.

Installation

See user documentation for details, but in short, you need clingo, graphviz and make install-deps.

Biseau and its gui are packaged, so if you already have clingo and graphviz, you should be good with:

pip install biseau biseau-gui

Usage

See user documentation for details. See Makefile for various recipes. Running biseau can be done using the following commands:

python -m biseau gui     # run the Graphical User Interface (if biseau-gui is installed)
python -m biseau         # run the Command Line Interface
python -m biseau --help  # get help for the CLI

Notes

Bomb attack error

To save you from some kind of attacks, Pillow may prevent you to create large images. To fix that, you can use something like:

from PIL import Image
Image.MAX_IMAGE_PIXELS = 20000  # or None, if you are feeling adventurous

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

biseau-0.0.14.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

biseau-0.0.14-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file biseau-0.0.14.tar.gz.

File metadata

  • Download URL: biseau-0.0.14.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for biseau-0.0.14.tar.gz
Algorithm Hash digest
SHA256 844559fccfe0a327101d53225b1e22a4e3d20dbdb1dcad1bf60356549b56f231
MD5 854edb7dc909f3c0f8daee53c6b360d8
BLAKE2b-256 d8d94fae91620083ef64f65b009dd9afc88d04a9b7cebe762a6a2c172cb3b7ac

See more details on using hashes here.

File details

Details for the file biseau-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: biseau-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for biseau-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e7412f9fc0e6a8dc604d1d6b29383c79b5dae788aadc305af2bc9cd788e04458
MD5 7c2e7ce9989e29dd5ef72d53f0fa45f4
BLAKE2b-256 584a3ad6cff4a16c72c1ca32701f578126427c287e7b6c94dc4ff7a8d6ebda9d

See more details on using hashes here.

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