A Foreign Function Interface package for calling C libraries from Python. (LADI project)
Go to file
Matt Davis ec9e0af363 update doc source tarball hashes for 1.15.1 2022-06-30 11:00:59 -07:00
.github/workflows musllinux test updates and wheels, py3.11 beta wheels 2022-06-29 14:14:10 -07:00
c musllinux test updates and wheels, py3.11 beta wheels 2022-06-29 14:14:10 -07:00
cffi dump version to 1.15.1 2022-06-08 09:21:38 +02:00
demo tweaks 2017-05-29 18:04:19 +02:00
doc update doc source tarball hashes for 1.15.1 2022-06-30 11:00:59 -07:00
testing musllinux test updates and wheels, py3.11 beta wheels 2022-06-29 14:14:10 -07:00
.hgignore enable tests on win32 in ownlib, 3 fail 2015-01-11 22:47:29 +02:00
.hgtags Added tag v1.15.0 for changeset d2ac4b46674e 2021-10-13 09:58:49 -07:00
AUTHORS Add my employer in AUTHORS 2016-04-23 22:10:16 +02:00
LICENSE authors and license 2012-06-18 12:57:03 +02:00
MANIFEST.in update MANIFEST.in to include missing ffi.lib 2021-09-28 16:08:59 +01:00
README.md Bump version to 1.15.0rc2 2021-10-04 19:21:58 -07:00
requirements.txt 'platformer' is no longer a requirement (for now only maybe) 2012-06-19 14:08:33 +02:00
setup.cfg Include license file in the generated wheel package 2018-04-10 20:22:36 -07:00
setup.py musllinux test updates and wheels, py3.11 beta wheels 2022-06-29 14:14:10 -07:00
setup_base.py test for pushing to heptapod 2020-11-28 15:29:35 +01:00

README.md

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.