Simple kernel for Walnut
Project description
walnut_kernel
walnut_kernel is a simple Jupyter kernel for Walnut.
Installation
To install walnut_kernel from PyPI:
pip install walnut_kernel
Using the Walnut kernel
Before using the kernel with notebooks or console frontends, you need a compiled copy of Walnut and to set the following environment variables:
WALNUT_HOMEshould point to a writable directory containing all the Walnut files (Result/,Custom Bases/, ...);WALNUT_JARshould point to thewalnut.jarmain JAR file.
Magic commands
This kernel is build with Metakernel and supports several convenient magic functions including %%file and %%python.
This kernel also provides its own magics:
%showme LAPIN: displays the graphiz fileResult/LAPIN.gv(convenient to display automata in notebooks);%DT blop "a->ab, b->a": compute the Dumont-Thomas numeration system associated to the substitutiona->ab, b->awith its addition. The resulting numeration system ismsd_blopand the DFAO isBlop;%DT blop "a->aba, b->b" 30: when the Dumont-Thomas numeration system is not X-Pisot, a bound is needed;%SGT maple ns dfao: compute the DFAOdfaoin numeration systemnsusing the semigroup trick from the linear representation of a rational serie given in Maple filemaple(generated by Walnut);%EQ maple1 maple2: test if the rational series given in the Maple filesmaple1andmaple2(generated by Walnut) are equal.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file walnut_kernel-0.3.3.tar.gz.
File metadata
- Download URL: walnut_kernel-0.3.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26754407e47551979b636b85147e7078f8432d6293e477c76f973db4207defea
|
|
| MD5 |
5638d4b29c457dd41e005b3d2348d09b
|
|
| BLAKE2b-256 |
53478ee334756b531408d51f0ef6f80c14a172407c615ec4099cdabb429a0386
|
Provenance
The following attestation bundles were made for walnut_kernel-0.3.3.tar.gz:
Publisher:
publish.yml on nopid/walnut_kernel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
walnut_kernel-0.3.3.tar.gz -
Subject digest:
26754407e47551979b636b85147e7078f8432d6293e477c76f973db4207defea - Sigstore transparency entry: 200604608
- Sigstore integration time:
-
Permalink:
nopid/walnut_kernel@03ba61f787c1cf3a9a1d029db8eebe21b9a5089e -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/nopid
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@03ba61f787c1cf3a9a1d029db8eebe21b9a5089e -
Trigger Event:
release
-
Statement type:
File details
Details for the file walnut_kernel-0.3.3-py3-none-any.whl.
File metadata
- Download URL: walnut_kernel-0.3.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49fa43ddeffafc3a6ba75339d345bdb9abe68371b38c5f2e93783dceb0c6ddbb
|
|
| MD5 |
eb1431616b01287c048717a9f0bc3cba
|
|
| BLAKE2b-256 |
0bfc69e280905b52f03d67e36f15adfbf82c9de36b5b18fcde5dada512a3cbf6
|
Provenance
The following attestation bundles were made for walnut_kernel-0.3.3-py3-none-any.whl:
Publisher:
publish.yml on nopid/walnut_kernel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
walnut_kernel-0.3.3-py3-none-any.whl -
Subject digest:
49fa43ddeffafc3a6ba75339d345bdb9abe68371b38c5f2e93783dceb0c6ddbb - Sigstore transparency entry: 200604612
- Sigstore integration time:
-
Permalink:
nopid/walnut_kernel@03ba61f787c1cf3a9a1d029db8eebe21b9a5089e -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/nopid
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@03ba61f787c1cf3a9a1d029db8eebe21b9a5089e -
Trigger Event:
release
-
Statement type: