cfficloak - A simple but flexible module for creating object-oriented, pythonic CFFI wrappers.
This is an extension of cffiwrap from https://bitbucket.org/memotype/cffiwrap
The intention is to more fully wrap/hide binary extensions build with cffi to improve auto-completion, inspection of objects and reading/writing/copying/assigning to c objects, especially structs and unions.
Wrapped functions provide a number of auto-conversion to/from types with error handling and output pointer argument creation.
Function skeletons can provide python definitions of c functions to improve auto-compiletion in python code and declaration of out args, error checking and default arguments.
Structs can take numpy arrays assigned to array elements and handle two-way linking for you without any copies.
There are a number of other utilities and wrappers provided to simpliy usage of cffi modules in day-to-day coding.
Install with
# pip install cfficloak
Automatic documentation is here: http://cfficloak.readthedocs.org/
Copyright (c) 2017, Andrew Leech <andrew@alelec.net>
Original cffiwrap copyright (c) 2013, Isaac Freeman <memotype@gmail.com>
All rights reserved.
Licensed under Apache License, Version 2.0.
See LICENSE.txt for licensing details.
Release files for cfficloak 2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cfficloak-2.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / cfficloak-2.8-py2.py3-none-any.whl
| Download URL | cfficloak-2.8-py2.py3-none-any.whl |
|---|---|
| Size | 95.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ec91f397b836590a69317e21e26c0ee561fba4b91f30fda68731b334d19f9c67
|
|
BLAKE2b-256 checksum How to use checksums |
7b10ef9d2c4c86183a3513acf18b5de3ea447d4c78aef2b4bd9430d702dad494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|