cpython - How to use shared dynamic libraries with python-cffi (in linux)? -


OS: CentOS 6 (64bit)

I have a dynamic library (.so) in C And I want to make an abstract layer of Python on it and then use it to implement my argument. I have decided to use CFFI for it because it does not deal with any type of DSL (Domain Specific Language).

Some things I wanted to know:

  1. Is there a good starting point to do this (using CFI using loading and dynamic libraries) Can I mention? Docs on the official site talk about this, but I was seeing some concrete references with some examples.

    Thanks

    two good starting point:

      <
    • My CFFI example repository:

    • Between the two you should not have too much trouble collecting your cover.

      And on your second question: If the shared library which you wrap is very simple (eg, some function calls, simul data structure) you may find simple (because it is part of the standard library) .

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -