FICHA · AUR

python2-ctypes

Create and manipulate C data types in Python, call functions in shared libraries

  • foreign function library
  • LIBRARY
  • Dev
  • Dependency only
official+codex · reviewed · Jun 4, 2026 description in en

Description

Shared C libraries can be loaded and called from legacy Python 2 programs. Ctypes lets developers create C-compatible data structures and invoke native functions without compiling a separate extension.

Native calls run with the process privileges and can crash or corrupt memory if used incorrectly. Use only trusted libraries and validate buffers, pointers, and argument types.

Permissions

Permissions not analysed for this source yet.