ctypes wrapping of libtoxcore into Python. Taken from the now abandoned https://github.com/toxygen-project/toxygen next_gen branch
Go to file
2022-09-26 00:58:57 +00:00
tests Add integration test suite 2022-09-26 00:58:57 +00:00
wrapper Add integration test suite 2022-09-26 00:58:57 +00:00
__init__.py add __init__.py 2022-09-24 04:35:33 +00:00
.gitignore Initial commit of py 2022-09-24 04:00:32 +00:00
LICENSE Initial commit 2022-09-24 05:41:12 +02:00
README.md minor update 2022-09-25 07:21:16 +00:00

toxygen_wrapper

ctypes wrapping of Tox libtoxcore https://github.com/TokTok/c-toxcore into Python. Taken from the wrapper directory of the now abandoned https://github.com/toxygen-project/toxygen next_gen branch by Ingvar.

The basics of NGC groups are supported, as well as AV and toxencryptsave.

Install

Put the parent of the wrapper directory on your PYTHONPATH and touch a file called __init__.py in the parent directory.

Prerequisites

No prerequisites in Python3.

Other wrappers

There are a number of other wrappings into Python of Tox core. This one uses CTYPES which has its merits - there is no need to recompile anything as with Cython - change the Python file and it's done. CTYPES code can be brittle, segfaulting if you've got things wrong, but if your wrapping is right, it is very efficient and easy to work on.

Others include: