cffi_magic-0.0.9
توضیحات
A module that define a cffi magic for IPython
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cffi_magic-0.0.9 |
| نام | cffi_magic |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Matthias Bussonnier |
| ایمیل نویسنده | bussonniermatthias@gmail.com |
| آدرس صفحه اصلی | https://github.com/Carreau/cffi_magic |
| آدرس اینترنتی | https://pypi.org/project/cffi_magic/ |
| مجوز | - |
CFFI magic
==========
Quick iteration of cffi in notebooks.
.. code:: python
%%cffi int quint(int);
int quint(int n)
{
return 5*n;
}
# quint(9) # 45
rust magic
==========
If you have rust installed:
.. code:: python
%%rust int double(int);
#[no_mangle]
pub extern fn double(x: i32) -> i32 {
x*2
}
# double(6) # 12
نیازمندی
| مقدار | نام |
|---|---|
| - | cffi |
نحوه نصب
نصب پکیج whl cffi_magic-0.0.9:
pip install cffi_magic-0.0.9.whl
نصب پکیج tar.gz cffi_magic-0.0.9:
pip install cffi_magic-0.0.9.tar.gz