nim_magic:JupyterLab或Juypter Python笔记本的Nim细胞魔术

时间:2021-02-04 07:24:37
【文件属性】:
文件名称:nim_magic:JupyterLab或Juypter Python笔记本的Nim细胞魔术
文件大小:4KB
文件格式:ZIP
更新时间:2021-02-04 07:24:37
magic jupyter-notebook python3 nim-lang JupyterNotebookJupyterNotebook nim_magic 适用于JupyterLab或Juypter Python笔记本的Nim细胞魔术。 编写Nim模块,然后直接在Notebook中使用编译后的代码作为Python内核的扩展模块(类似于%% cython,但对于您喜欢的语言:P)。 它建立在@yglukhov很棒的库上。 要求 路径中的编译器 软件包( nimble install nimpy ) 安装 只需将文件nim_magic.py放在Python的导入路径中的某个位置,例如,在以下打印的目录之一中: python3 -c "import sys; print(sys.path)" 。 例 在运行Python3内核的J
【文件预览】:
nim_magic-master
----.gitignore(75B)
----nim_magic.py(2KB)
----LICENSE(1KB)
----README.md(1KB)
----examples.ipynb(5KB)

网友评论