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.8.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file cffi_magic-0.0.8.tar.gz
.
File metadata
- Download URL: cffi_magic-0.0.8.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ac6e05ee31885836925a107c00a68feb1c9f3cc5352e41a14d14a3e462b8aa |
|
MD5 | ca0e396c08dc023e10ae000b7affaedd |
|
BLAKE2b-256 | e243463efab38bd958cf5e888b31015b9ed6bcda3002c069e2a7436348e7e667 |
File details
Details for the file cffi_magic-0.0.8-py2.py3-none-any.whl
.
File metadata
- Download URL: cffi_magic-0.0.8-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 | f80e1a0773d90d555859d43dfba61e548d2d165e4b7108a3e40831b56b64fea8 |
|
MD5 | e88349c3520cc3932e44ce52d318c93e |
|
BLAKE2b-256 | 7e7413a076526062d9de13f927d017adb9eaac75ed9dd76092a39749297527d0 |