Skip to main content

Crelm

The Crelm package provides a relatively simple API around the CFFI system. Give it C code or source files, it gives you a package with bindings to functions and structs. Easiest way to get started is hack up the examples in the repo.

Installation

pip3 install crelm

Simple Demo

from crelm import Factory

paste = Factory(debug=False, verbose=True).create_Tube('add2') \
    .add_source_text('int add2(int a, int b) { return a + b; }') \
    .squeeze()

print(f'2 + 3 = {paste.add2(2, 3)}')

Release files for crelm 0.0.36

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

Source distribution (sdist)

Source distribution for crelm 0.0.36
File Size Uploaded
crelm-0.0.36.tar.gz 33.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crelm 0.0.36
File Interpreter ABI Platform
crelm-0.0.36-py3-none-any.whl Python 3 none any Details

Total release size:68.1 kB

Release files / crelm-0.0.36.tar.gz

Download URL crelm-0.0.36.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e0fc23da6b2fd98e12abcda15b47b9ed78d14d62a0d86aaaefb881cb5f907a9e
BLAKE2b-256 checksum
How to use checksums
154688c99890c1a0c05b21806bd790131b3dcc2af7546d8afcad6b0126cdf532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.7 Linux/5.19.0-1028-lowlatency

Release files / crelm-0.0.36-py3-none-any.whl

Download URL crelm-0.0.36-py3-none-any.whl
Size 34.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
973d0b0f2a719536ad56858a094aa199dfe745258888469618e33343ac6de5e3
BLAKE2b-256 checksum
How to use checksums
3ad3c11a1dbb9424e338bf06237c2bbed23309caf1b793854cb5e83fdae46e23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.7 Linux/5.19.0-1028-lowlatency
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