cffi: Foreign Function Interface for Python calling C code - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# cffi: Foreign Function Interface for Python calling C code

## Description

development website: https://foss.heptapod.net/pypy/cffi

documentation website: https://cffi.readthedocs.io/en/latest/

PyPI page: https://pypi.org/project/cffi/

## License

MIT

## Upstream Contact

https://foss.heptapod.net/pypy/cffi

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

- pycparser: Parser of the C language in Python

## Version Information

package-version.txt:

    2.0.0

version_requirements.txt:

    cffi >=1.14.0

## Equivalent System Packages

conda-forge

    $ conda install cffi

Fedora/Redhat/CentOS

    $ sudo dnf install python3-cffi

Gentoo Linux

    $ sudo emerge virtual/python-cffi

Homebrew

    $ brew install cffi

MacPorts

    $ sudo port install py-cffi

openSUSE

    $ sudo zypper install 'python3${PYTHON_MINOR}-cffi'

Void Linux

    $ sudo xbps-install python3-cffi

See https://repology.org/project/python:cffi/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.