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.6.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file cffi_magic-0.0.6.tar.gz
.
File metadata
- Download URL: cffi_magic-0.0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa9deadbc820565ce3c717412a1dbb640bbfc599d726b00d38aa20c162626f8 |
|
MD5 | 09f6b9bcf9f3a9e2db780d50a9150b7d |
|
BLAKE2b-256 | 43f0c6a7033dbf60b3a9cdc6b964a870970b0f1ef1d68195cdf94a303dafe0b6 |
File details
Details for the file cffi_magic-0.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: cffi_magic-0.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca1f8914af4b1da2b140d3851396935ad8c23ea6b195c6a248114842897fc14 |
|
MD5 | de6f7f2127eeda459b5a94098293925e |
|
BLAKE2b-256 | 937a78f7358c57a2cfdec937e7736a90cc2b72e0190777418e0ac17cb7201b5d |