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

Uploaded Source

Built Distribution

biseau-0.0.17-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: biseau-0.0.17.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for biseau-0.0.17.tar.gz
Algorithm Hash digest
SHA256 8665d42315163d515210d837e340ac4968afbfced9e2b867535904dc57a33651
MD5 b868946a50a18d6cfa0a0f8263da35c8
BLAKE2b-256 5448d43b3d123f8bdab349940b813adba97ceac8571ec2a6bc58420e03e37f2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biseau-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for biseau-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 c80f01b14517d024ac69c9e269da51747c68633a82c6fd0753fdb146164042f4
MD5 f03fce0d39dfcdb0f2c152c55661e21f
BLAKE2b-256 146d99ae5a024aec832200613ebd77febe010c6dbe867ba4a87b3484e2a1cd74

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