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.3-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for cffi_magic-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 05cadfad87b1567c5353dcde5f58b5d5eabaf057611d15fc443b1bf0bb420cd9
MD5 89d84a364858d878d7816b6537e12332
BLAKE2b-256 1224e19f3ac5b9341c7b20a7f0a6eaac3084efacb4df2cf42e02af71f7058abd

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