signalapp / libsignal-protocol-c

GNU General Public License v3.0
1.41k stars 295 forks source link

Python Bindings #121

Open fionafibration opened 5 years ago

fionafibration commented 5 years ago

Is there a possibility for bindings for other languages, for example Python, which supports importing code from C?

Thanks

ghost commented 5 years ago

Well, yes, of course it's possible, and that sounds like a good idea. If somebody hasn't done this yet, I'd actually be surprised. I may have to start on it myself. Seems like it would be a great complement to the Twisted (Matrix) library.

dkonigsberg commented 5 years ago

At WhatsApp, we had Python bindings in an internal repository. However, they were never really maintained in a way suitable for external release. (They probably didn't get renamed when the library name changed, and they were likely developed with the specific needs of internal projects in mind.)

That being said, generic and well developed Python bindings would be a welcome contribution. Provided, of course, that its easy to keep them well maintained and in-sync with everything else.

ioistired commented 5 years ago

python-axlotl exists, which is a port of libsignal-protocol-java to python.