py34-cffi - Foreign Function Interface for Python calling C code

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py34-cffi-1.12.2.tgz
Package name py34-cffi
Package version 1.12.2
Package release -
Package architecture i386
Package type tgz
Category devel python
License mit
Maintainer -
Download size 206.46 KB
Installed size 1.03 MB
Foreign Function Interface for Python calling C code. The aim of
this project is to provide a convenient and reliable way of calling
C code from Python. The interface is based on LuaJIT's FFI and
follows a few principles:
o The goal is to call C code from Python. You should be able to do
so without learning a 3rd language: every alternative requires
you to learn their own language (Cython, SWIG) or API (ctypes).
So we tried to assume that you know Python and C and minimize
the extra bits of API that you need to learn.
o Keep all the Python-related logic in Python so that you don't
need to write much C code.
o Work either at the level of the ABI (Application Binary Interface)
or the API (Application Programming Interface). Usually, C
libraries have a specified C API but often not an ABI.
o We try to be complete. For now some C99 constructs are not
supported, but all C89 should be, including macros.
o We attempt to support both PyPy and CPython, with a reasonable
path for other Python implementations like IronPython and Jython.
o Note that this project is not about embedding executable C code
in Python, unlike Weave. This is about calling existing C libraries
from Python.


Package Version Architecture Repository
py34-cffi-1.12.2.tgz 1.12.2 amd64 NetBSD
py34-cffi - - -


Name Value
libffi >= 3.0.11
py34-cparser -
py34-setuptools >= 0.8
python34 >= 3.4


Type URL
Binary Package py34-cffi-1.12.2.tgz
Source Package py34-cffi

Install Howto

Install py34-cffi tgz package:

# pkg_add py34-cffi

See Also

Package Description
py34-cfscrape-1.9.7.tgz Python module for dealing with Cloudfare protection
py34-chai-1.1.2.tgz Easy to use mocking, stubbing and spying framework
py34-characteristic-14.3.0.tgz Python attributes without boilerplate
py34-chardet-3.0.4.tgz Character encoding auto-detection in Python
py34-cheroot-6.5.4.tgz High-performance, pure-Python HTTP server used by CherryPy
py34-cherrypy-17.4.0.tgz Pythonic, object-oriented HTTP framework
py34-click-7.0.tgz Simple wrapper around optparse for powerful command line utilities
py34-click-log-0.3.2.tgz Logging integration for Click
py34-click-threading-0.4.4.tgz Multithreaded Click apps made easy
py34-clickclick-1.2.2.tgz Click utility functions
py34-clint-0.5.1.tgz Python Command-line Application Tools
py34-codestyle-2.5.0.tgz Python style guide checker
py34-cogapp-2.5.1.tgz Code generator for executing Python snippets in source files
py34-collectd-5.8.0nb1.tgz Statistics collection daemon - python plugin
py34-color-0.3.0.tgz Very small color printing module