A module that define a cffi magic for IPython
Project description
CFFI magic
Quick iteration of cffi in notebooks.
%%cffi int quint(int);
int quint(int n)
{
return 5*n;
}
# quint(9) # 45
rust magic
If you have rust installed:
%%rust int double(int);
#[no_mangle]
pub extern fn double(x: i32) -> i32 {
x*2
}
# double(6) # 12
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
cffi_magic-0.0.9.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cffi_magic-0.0.9.tar.gz.
File metadata
- Download URL: cffi_magic-0.0.9.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.19.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36730c6a69b8f1e827bda2e0fa2e65ec4ee6b826da830df10880b006501c38e6
|
|
| MD5 |
eef0bdf9dfd1d50e6c30caab5ae52409
|
|
| BLAKE2b-256 |
a2714b515b4fb41aa9756047cf4c58c8b5a0002591a001a7acd23f47da617ca2
|
File details
Details for the file cffi_magic-0.0.9-py2.py3-none-any.whl.
File metadata
- Download URL: cffi_magic-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.19.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7491d5b28adceddcd0dae4d9c81319a6b93cc6c0c50fbf2d6d754807e0d5f80f
|
|
| MD5 |
6af14a86041d689e27b549ba3078d057
|
|
| BLAKE2b-256 |
49cc92011dd20a73bb1287a44c1c42c4657f3c39e77018276c6fcd88234c2b70
|