thesofakillers / iclingo

πŸ”΄πŸŸ’πŸ”΅ clingo kernel for Jupyter
https://pypi.org/project/iclingo/
GNU General Public License v3.0
6 stars 1 forks source link
answer-set-programming clingo ipykernel jupyter kernel logic-programming

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

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.