1. Python CFFI
  2. Untitled project
  3. cffi

Source

cffi /

Filename Size Date modified Message
c
cffi
demo
doc
testing
235 B
149 B
754 B
173 B
208 B
1.3 KB
280 B
779 B
17 B
8.3 KB
913 B

CFFI

Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.

Download

Download page

Contact

Mailing list

Testing/development tips

To run tests under CPython, run::

pip install pytest     # if you don't have py.test already
pip install pycparser
python setup.py build_ext -f -i
py.test c/ testing/

If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path to point to the location that contains the _cffi_backend.so just compiled.