mirror of
https://github.com/python-cffi/cffi.git
synced 2025-12-05 20:45:14 +00:00
A Foreign Function Interface package for calling C libraries from Python.
https://cffi.readthedocs.io/en/latest/
|
Some checks failed
CFFI CI / merge_artifacts (push) Has been cancelled
CFFI CI / python_sdist (push) Has been cancelled
CFFI CI / make_linux_matrix (push) Has been cancelled
CFFI CI / make_macos_matrix (push) Has been cancelled
CFFI CI / make_windows_matrix (push) Has been cancelled
CFFI CI / make_ios_matrix (push) Has been cancelled
CFFI CI / make_run_parallel_matrix (push) Has been cancelled
CFFI CI / clang_TSAN (push) Has been cancelled
CFFI CI / linux (push) Has been cancelled
CFFI CI / macos (push) Has been cancelled
CFFI CI / windows (push) Has been cancelled
CFFI CI / ios (push) Has been cancelled
CFFI CI / pytest-run-parallel (push) Has been cancelled
CFFI CI / check (push) Has been cancelled
|
||
|---|---|---|
| .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/