Python bindings to libpurple
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 17 commits ahead of fahhem:master.
anpetrov Convert API to use unicode strings
Python3 uses unicode strings by default, while libpurple uses regular
char*. As result, python3 strings can not be easily used in cython, so
conversion is requiered between python3 and cython/C code.

This patch adds conversion to few places just to get nullclient working.

Signed-off-by: Andrey Petrov <andrey.petrov@gmail.com>
Latest commit 3d3937b Apr 6, 2017

README.md

python-purple - Python bindings for libpurple

Original copyright: Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia

This project is attempt to revive python-purple, convert to python3 and make it more palatible for integration with other projects.

Installation:

apt-get install libpython3.4-dev gcc build-essential libglib2.0-dev libpurple-dev
pip3 install python-purple

If you wish to recompile purple.c with Cython (not required) use:

setup.py build --with-cython
setup.py install

Andrey Petrov (andrey.petrov@gmail.com)