Skip to main content

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_HOME should point to a writable directory containing all the Walnut files (Result/, Custom Bases/, ...);
  • WALNUT_JAR should point to the walnut.jar main 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 file Result/LAPIN.gv (convenient to display automata in notebooks);
  • %DT blop "a->ab, b->a": compute the Dumont-Thomas numeration system associated to the substitution a->ab, b->a with its addition. The resulting numeration system is msd_blop and the DFAO is Blop;
  • %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 DFAO dfao in numeration system ns using the semigroup trick from the linear representation of a rational serie given in Maple file maple (generated by Walnut);
  • %EQ maple1 maple2: test if the rational series given in the Maple files maple1 and maple2 (generated by Walnut) are equal.

Metadata

Release files for walnut-kernel 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for walnut-kernel 0.3.3
File Size Uploaded Provenance Actions
walnut_kernel-0.3.3.tar.gz 5.4 kB With provenance Details for walnut_kernel-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for walnut-kernel 0.3.3
File Interpreter ABI Platform Actions
walnut_kernel-0.3.3-py3-none-any.whl Python 3 none any Details for walnut_kernel-0.3.3-py3-none-any.whl

Total release size: 12.9 kB

Release files / walnut_kernel-0.3.3.tar.gz

Download URL walnut_kernel-0.3.3.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
26754407e47551979b636b85147e7078f8432d6293e477c76f973db4207defea
BLAKE2b-256 checksum
How to use checksums
53478ee334756b531408d51f0ef6f80c14a172407c615ec4099cdabb429a0386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.

Transparency log

Release files / walnut_kernel-0.3.3-py3-none-any.whl

Download URL walnut_kernel-0.3.3-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49fa43ddeffafc3a6ba75339d345bdb9abe68371b38c5f2e93783dceb0c6ddbb
BLAKE2b-256 checksum
How to use checksums
0bfc69e280905b52f03d67e36f15adfbf82c9de36b5b18fcde5dada512a3cbf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.

Transparency log

Security for walnut-kernel 0.3.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for walnut_kernel-0.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page