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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size cffi_magic-0.0.9-py2.py3-none-any.whl (6.8 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size cffi_magic-0.0.9.tar.gz (3.3 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for cffi_magic-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7491d5b28adceddcd0dae4d9c81319a6b93cc6c0c50fbf2d6d754807e0d5f80f |
|
MD5 | 6af14a86041d689e27b549ba3078d057 |
|
BLAKE2-256 | 49cc92011dd20a73bb1287a44c1c42c4657f3c39e77018276c6fcd88234c2b70 |