mirror of
https://github.com/python-cffi/cffi.git
synced 2026-03-06 16:00:20 +00:00
A Foreign Function Interface package for calling C libraries from Python.
https://cffi.readthedocs.io/en/latest/
|
|
||
|---|---|---|
| .github | ||
| demo | ||
| doc | ||
| src | ||
| testing | ||
| tools | ||
| .gitignore | ||
| .readthedocs.yaml | ||
| AUTHORS | ||
| LICENSE | ||
| MANIFEST.in | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| setup_base.py | ||
| suppressions_free_threading.txt | ||
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
After git clone or wget && tar, we will get a directory called cffi or cffi-x.x.x. We call it repo-directory. To run tests under CPython, run the following in the repo-directory:
pip install pytest
pip install -e . # editable install of CFFI for local development
pytest src/c/ testing/