rustdef:Jupyter扩展防锈

时间:2021-02-04 07:57:47
【文件属性】:
文件名称:rustdef:Jupyter扩展防锈
文件大小:24KB
文件格式:ZIP
更新时间:2021-02-04 07:57:47
rust jupyter-notebook jupyter-extension JupyterNotebookPython 锈菌 Jupyter笔记本和防锈用户的Jupyter扩展。 您可以在rust中定义函数并将其作为python函数运行。 该扩展基于和 。 例子 先决条件 Python> = 3.6和pip> = 19.3 安装 $ pip install rustdef 魔术命令 添加依赖项 %rustdef depends CRATE... 定义防锈功能 %% rustdef #[pyfunction] fn my_func (x: i64 , y: & str ) -> i64 { println! ( "{}" , y); x + y. len () as i64 } 开发 这个怎么
【文件预览】:
rustdef-master
----.gitignore(89B)
----pyproject.toml(441B)
----src()
--------core.rs(2KB)
--------lib.rs(14B)
----.cargo()
--------config(111B)
----Cargo.lock(10KB)
----LICENSE(1KB)
----CHANGELOG.md(720B)
----Cargo.toml(1011B)
----.github()
--------workflows()
--------dependabot.yml(504B)
----examples()
--------types.ipynb(26KB)
--------Get started.ipynb(8KB)
--------numpy.ipynb(7KB)
----README.md(2KB)
----.flake8(43B)
----rustdef()
--------__init__.py(363B)
--------magic.py(9KB)
----rust-toolchain(6B)
----build.rs(2KB)

网友评论