Using python with C Library

fu jf at ypsilon.net
Thu Apr 1 10:07:25 EST 2004


hi there,
i got the following problem: I have a set of compiled C files, providing 
a API for a special encryption / decrytion of messages to be exchanged 
over the internet, well documented and with a lot of programming 
examples of how to work with it and its functions (in this case the 
examples are all in C). Now i want to use it with twisted/python 
together, to have all the advantages of twisted (especially the reactor 
instead of threading, deferred and so on), but the C API to do the last 
step before messages are send out.

The C API should just play some kind of middleware between the tcp-ip 
protokoll and the twisted server. Is it possible to extending python / 
twisted with that library by "just import" them?

Any kind of advice / suggestions would help

thanks
J.F.



More information about the Python-list mailing list