Foreign Function Interface for Python calling C code.

About cffi

Foreign Function Interface for Python calling C code.

Key Features

  • Call C libraries directly from Python
  • Supports ABI and API modes for binding strategies
  • Parses C declarations to generate wrappers
  • Used by security and performance-critical Python libraries

Installation

uv add cffi

Related Tools

Quick Info

Latest Version
2.0.0
First Release
2012
License
Unknown

About pytools.dev

pytools.dev is your go-to directory for the best Python tools, libraries, and frameworks—designed for the modern Python developer.

© 2026 pytools.dev. All rights reserved.
Created with ❤️ by James Fricker