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.7.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file cffi_magic-0.0.7.tar.gz
.
File metadata
- Download URL: cffi_magic-0.0.7.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d28eef8da104f8cdc2fccca792c61c7a0619126f5f56fa2e39026900993ccade |
|
MD5 | 0bc5cdc749013e94ce02c40540c25f57 |
|
BLAKE2b-256 | 1c0cc71b56d7a14e478c764bd8052039ea966d421465acb212ae0fdbe47320fd |
File details
Details for the file cffi_magic-0.0.7-py2.py3-none-any.whl
.
File metadata
- Download URL: cffi_magic-0.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341c081ee3900b101a82a01e19d9c2482e359a11348e13af7ab1d0faa57ce42a |
|
MD5 | f660962acf08543fa96a8312fdc16158 |
|
BLAKE2b-256 | 4280fd6afed9b995b5554ed315700e5b3dbaeffac38f725b95410d7914ec0aab |