cffi

A Foreign Function Interface package for calling C libraries from Python.

Latest version: 2.0.0b1 registry icon
Maintenance score
100
Safety score
100
Popularity score
39
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
2.0.0b1 0 0 0 0 0
2.0.0 0 0 0 0 0
1.17.1 0 0 0 0 0
1.17.0rc1 0 0 0 0 0
1.17.0 0 0 0 0 0
1.16.0rc2 0 0 0 0 0
1.16.0rc1 0 0 0 0 0
1.16.0 0 0 0 0 0
1.15.1 0 0 0 0 0
1.15.0rc2 0 0 0 0 0
1.15.0rc1 0 0 0 0 0
1.15.0 0 0 0 0 0
1.14.6 0 0 0 0 0
1.14.5 0 0 0 0 0
1.14.4 0 0 0 0 0
1.14.3 0 0 0 0 0
1.14.2 0 0 0 0 0
1.14.1 0 0 0 0 0
1.14.0 0 0 0 0 0
1.13.2 0 0 0 0 0
1.13.1 0 0 0 0 0
1.13.0 0 0 0 0 0
1.12.3 0 0 0 0 0
1.12.2 0 0 0 0 0
1.12.1 0 0 0 0 0
1.12.0 0 0 0 0 0
1.11.5 0 0 0 0 0
1.11.4 0 0 0 0 0
1.11.3 0 0 0 0 0
1.11.2 0 0 0 0 0
1.11.1 0 0 0 0 0
1.11.0 0 0 0 0 0
1.10.0 0 0 0 0 0
1.9.1 0 0 0 0 0
1.9.0 0 0 0 0 0
1.8.3 0 0 0 0 0
1.8.2 0 0 0 0 0
1.7.0 0 0 0 0 0
1.6.0 0 0 0 0 0
1.5.2 0 0 0 0 0
1.5.1 0 0 0 0 0
1.5.0 0 0 0 0 0
1.4.2 0 0 0 0 0
1.4.1 0 0 0 0 0
1.4.0 0 0 0 0 0
1.3.1 0 0 0 0 0
1.3.0 0 0 0 0 0
1.2.1 0 0 0 0 0
1.2.0 0 0 0 0 0
1.1.2 0 0 0 0 0
1.1.1 0 0 0 0 0
1.1.0 0 0 0 0 0
1.0.3 0 0 0 0 0
1.0.2 0 0 0 0 0
1.0.1 0 0 0 0 0
1.0.0 0 0 0 0 0
0.9.2 0 0 0 0 0
0.9.1 0 0 0 0 0
0.9.0 0 0 0 0 0
0.8.6 0 0 0 0 0
0.8.5 0 0 0 0 0
0.8.4 0 0 0 0 0
0.8.3 0 0 0 0 0
0.8.2 0 0 0 0 0
0.8.1 0 0 0 0 0
0.8 0 0 0 0 0
0.7.2 0 0 0 0 0
0.7.1 0 0 0 0 0
0.7 0 0 0 0 0
0.6 0 0 0 0 0
0.5 0 0 0 0 0
0.4.2 0 0 0 0 0
0.4.1 0 0 0 0 0
0.4 0 0 0 0 0
0.3 0 0 0 0 0
0.2.1 0 0 0 0 0
0.2 0 0 0 0 0
0.1 0 0 0 0 0

Stability
Latest release:

2.0.0b1 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



GitHub Actions Status PyPI version Read the Docs

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

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/