python-cffi:基于 C 语言的 Python 外部函数接口项目

可用于 Python 调用 C 代码,提供了 Python 与 C 语言之间的外部函数接口,便于跨语言交互,源代码公开在 GitHub,含文档及测试开发相关提示。【此简介由AI生成】

Branch6Tags7
FilesLast commitLast 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

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/

Introduction

可用于 Python 调用 C 代码,提供了 Python 与 C 语言之间的外部函数接口,便于跨语言交互,源代码公开在 GitHub,含文档及测试开发相关提示。【此简介由AI生成】

Customize your domain