mirror of
https://github.com/python-cffi/cffi.git
synced 2026-09-19 21:29:23 +00:00
A Foreign Function Interface package for calling C libraries from Python.
https://cffi.readthedocs.io/en/latest/
- Python 65.3%
- C 34.2%
- Assembly 0.2%
- Batchfile 0.2%
- Meson 0.1%
Now that cibuildwheel and PyPI support riscv64, we can start building riscv64 wheels. Integrated in the same way as the s390x platform. Signed-off-by: Julien Stephan <jstephan@baylibre.com> |
||
|---|---|---|
| .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/