Skip to main content

Goal Jupyter Kernel

goal_jupyter_kernel is a custom Jupyter kernel for the Goal programming language.

Installation

  1. Install uv (or alternative of your choosing)
  2. Clone the repository
  3. Build the project
  4. Install the wheel
  5. Install the kernel spec
git clone https://github.com/semperos/goal_jupyter_kernel
cd goal_jupyter_kernel
uv build
pip install dist/goal_jupyter_kernel-0.1.0-py3-none-any.whl
jupyter kernelspec install --user data_kernelspec/share/jupyter/kernels/goal

Using the Goal Jupyter kernel

Notebook: The New menu in the notebook should show an option for a Goal notebook.

Console frontends: To use it with the console frontends, add --kernel goal to their command line arguments.

Known Limitations

  • The auto-complete functionality does not yet properly calculate the starting code position to replace with the chosen completion result.

Development

uv build && uv run jupyter kernelspec install --user data_kernelspec/share/jupyter/kernels/goal/ && uv run jupyter lab --debug

Acknowledgements

The Goal programming language is the work of anaseto.

This repository was adapted from the Jupyter echo_kernel example.

License

Copyright 2024 Daniel Gregoire

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for goal_jupyter_kernel 0.1.0

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

Source distribution (sdist)

Source distribution for goal_jupyter_kernel 0.1.0
File Size Uploaded
goal_jupyter_kernel-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for goal_jupyter_kernel 0.1.0
File Interpreter ABI Platform
goal_jupyter_kernel-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / goal_jupyter_kernel-0.1.0.tar.gz

Download URL goal_jupyter_kernel-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
17a0ae9ac90dba98b227fe44a53dc3e19b374177b1609f1b23c9817c96bdcfbb
BLAKE2b-256 checksum
How to use checksums
9b3ed00a8c64b3af4f45cda037271499256606b2b375aa49415c2be9b2c26491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.6

Release files / goal_jupyter_kernel-0.1.0-py3-none-any.whl

Download URL goal_jupyter_kernel-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c040f78065db0b9fc6c3bbc27b2f3b171680f4da767e133c3825df72eb5751fd
BLAKE2b-256 checksum
How to use checksums
8f8dcbb9b3221e9ba39011c0ba2ceb2ca46cb980a3904809f82b3a6e9a968c7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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