可用于 Python 调用 C 代码,提供了 Python 与 C 语言之间的外部函数接口,便于跨语言交互,源代码公开在 GitHub,含文档及测试开发相关提示。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 2 years ago | ||
| 4 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago | ||
| 2 years ago |
CFFI
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
Download
Source Code
Source code is publicly available on GitHub.
Contact
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/