Skip to main content

Jupyter kernel for the Nodus language

Project description

nodus-jupyter

Jupyter kernel for the Nodus language. Write and run .nd files directly in JupyterLab, Jupyter Notebook, or VS Code notebooks.

Install

pip install nodus-jupyter
python -m nodus_jupyter install

Then start Jupyter and select Nodus from the kernel list.

Features

  • Persistent state — variables and functions defined in one cell are available in all subsequent cells
  • Tab completion — keywords, builtins, stdlib modules, and user-defined names
  • Hover docs — inspect builtin functions and stdlib modules inline
  • Multiline detection — open braces trigger continuation mode automatically

Requirements

  • Python ≥ 3.10
  • nodus-lang >= 4.0.0
  • ipykernel >= 6.0

Example

# Cell 1
fn greet(name) {
    return "Hello, \(name)!"
}
# Cell 2 — function from Cell 1 is available
print(greet("Nodus"))

VS Code

Works with VS Code notebooks via the Nodus Language extension. Select the Nodus kernel in the notebook kernel picker.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nodus_jupyter-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nodus_jupyter-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file nodus_jupyter-0.1.0.tar.gz.

File metadata

  • Download URL: nodus_jupyter-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for nodus_jupyter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1ec8a9fb9386450ff5f400185b471072e45c1d431b4a954996eb3c9fe7e8067
MD5 c8abc550e3dfa760fa683d9cc21ec831
BLAKE2b-256 913ad85ae847d1848b73b41875c9f994836113b5110349b5778aa43466d06bbe

See more details on using hashes here.

File details

Details for the file nodus_jupyter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nodus_jupyter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for nodus_jupyter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 711a3dc485788f8be9c9ef617e86e98554abeb39b263c21c0db96c9dff78e71d
MD5 7c8b6150b25e28567422da5c9262f02c
BLAKE2b-256 8c84b460476701e5e3cb925ffb242e04e4f765eca4da69c92c4bb9043a82580d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page