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

Uploaded Source

Built Distribution

biseau-0.0.15-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: biseau-0.0.15.tar.gz
  • Upload date:
  • Size: 29.0 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.15.tar.gz
Algorithm Hash digest
SHA256 944c3e7036c4c648b4c0ab465eb49ee910181ea05fab637961e941b1184eaaf9
MD5 a9b0df4eeefea85889f2d9e6ec1fdd17
BLAKE2b-256 d9ff64abb5b7855bc3e27b4e6ff4919f7d1fffc9092bffa563e8c0a3fb1876f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biseau-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 23.6 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 483dd7705bf60fc03b410e86c6def2134798384302aca804088a6ccd0715428a
MD5 bc36142fba8e0c38e29650c7f61199fd
BLAKE2b-256 7c6d4de58a3e50238c5d6cd81e7054f7d742617c007fb55a668977e0e95cc383

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