iclingo
🔴🟢🔵 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.
Metadata
Release files for iclingo 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iclingo-0.1.7.tar.gz | 16.9 kB | Without provenance | Details for iclingo-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iclingo-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for iclingo-0.1.7-py3-none-any.whl |
Total release size: 46.7 kB
Release files / iclingo-0.1.7.tar.gz
| Download URL | iclingo-0.1.7.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9718f9b351b7455b794c375887f99bfd5b168738ecd8c06b5344e154626060bf
|
|
BLAKE2b-256 checksum How to use checksums |
afed607bef87caf80b028db6b95410623c890bab653da2980633cb9c58506512
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure
|
Release files / iclingo-0.1.7-py3-none-any.whl
| Download URL | iclingo-0.1.7-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d111a9c6fbff72263013d517e3ae2d756fe3850d2e62d0db6ece4e03f766a55
|
|
BLAKE2b-256 checksum How to use checksums |
fbd2a9f92d8d88568475cb4f5abf664b4656cbf570f3b8c2e06f5c3f5527b52d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure
|
Security for iclingo 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.