A Foreign Function Interface package for calling C libraries from Python.

131
42
Python

GitHub Actions Status
PyPI version
Read the Docs

CFFI

Foreign Function Interface for Python calling C code.

Please see the Documentation or uncompiled in the doc/ subdirectory.

Download

Download page

Source Code

Source code is publicly available on
GitHub.

Contact

Mailing list

Testing/development tips

To run tests under CPython, run the following in the source root directory:

pip install pytest
pip install -e .  # editable install of CFFI for local development
pytest c/ testing/