Coder Social home page Coder Social logo

thesofakillers / iclingo Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 334 KB

๐Ÿ”ด๐ŸŸข๐Ÿ”ต clingo kernel for Jupyter

Home Page: https://pypi.org/project/iclingo/

License: GNU General Public License v3.0

Python 100.00%
clingo answer-set-programming logic-programming kernel jupyter ipykernel

iclingo's Introduction

iclingo

Compatible python versions build workflow badge PyPI version

๐Ÿ”ด๐ŸŸข๐Ÿ”ต clingo kernel for Jupyter.

Install

To install, simply run

pip install iclingo
python -m iclingo.install

Usage

Once installed, you can run clingo code directly in jupyter, alongside typical jupyter functionality such as markdown cells. An example of this is available in examples/.

Limitations

  • No syntax highlighting is available
  • Currently, no configuration options can be passed to a given cell. This means that the default clingo options are used, such that for a problem with multiple answers, only the first answer is shown.
  • Multi-shot solving is not supported

Development

This repository is mostly based on the documentation presented in Making simple Python wrapper kernels.

We use poetry to track dependencies and build our package.

GitHub Actions are then used for automatic publishing to PyPi upon pushes of git tags to the repository.

When ready to publish the latest commit, simply run the following:

git tag $(poetry version --short)
git push --tags

Pull requests and contributions are more than welcome. Please refer to the relevant page.

iclingo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sshchesnyak

iclingo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.