Skip to main content

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

Release files for cffi_magic 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cffi_magic 0.0.9
File Size Uploaded
cffi_magic-0.0.9.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cffi_magic 0.0.9
File Interpreter ABI Platform
cffi_magic-0.0.9-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.1 kB

Release files / cffi_magic-0.0.9.tar.gz

Download URL cffi_magic-0.0.9.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36730c6a69b8f1e827bda2e0fa2e65ec4ee6b826da830df10880b006501c38e6
BLAKE2b-256 checksum
How to use checksums
a2714b515b4fb41aa9756047cf4c58c8b5a0002591a001a7acd23f47da617ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Release files / cffi_magic-0.0.9-py2.py3-none-any.whl

Download URL cffi_magic-0.0.9-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7491d5b28adceddcd0dae4d9c81319a6b93cc6c0c50fbf2d6d754807e0d5f80f
BLAKE2b-256 checksum
How to use checksums
49cc92011dd20a73bb1287a44c1c42c4657f3c39e77018276c6fcd88234c2b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page