Skip to main content

A module that define a cffi magic for IPython

Project description

CFFI magi

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cffi_magic-0.0.5-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cffi_magic-0.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cffi_magic-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c8100ce8722aa53d9df1d210a09c26c6a57d3f808382aa0b8555ef7b7c436b0c
MD5 c681b00c7394b8d5fd0200b8dec8750c
BLAKE2b-256 85ebe296d9f193c34602cdf9a57e4d593482c0c8c1b838422f18fa72fadf22c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page