jupyter.md 639 B

Codon ships with a kernel that can be used by Jupyter, invoked with the codon jupyter ... subcommand.

To add the Codon kernel, add the following kernel.json file to the directory /path/to/jupyter/kernels/codon/:

{
    "display_name": "Codon",
    "argv": [
        "/path/to/codon",
        "jupyter",
        "{connection_file}"
    ],
    "language": "python"
}

Plugins can also optionally be specified, as in:

{
    "display_name": "Codon",
    "argv": [
        "/path/to/codon",
        "jupyter",
        "-plugin", "/path/to/plugin",
        "{connection_file}"
    ],
    "language": "python"
}