add __init__.py

This commit is contained in:
emdee 2022-09-24 04:35:33 +00:00
parent cc40380488
commit c8e0adcb3e
2 changed files with 20 additions and 9 deletions

View File

@ -1,9 +1,11 @@
# toxygen_wrapper # toxygen_wrapper
ctypes wrapping of libtoxcore <https://github.com/TokTok/c-toxcore> ctypes wrapping of [Tox](https://tox.chat/) libtoxcore
into Python. Taken from the now abandoned <https://github.com/TokTok/c-toxcore>
<https://github.com/toxygen-project/toxygen> `next_gen` branch. 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. The basics of NGC groups are supported.
## Install ## Install
@ -13,17 +15,26 @@ touch a file called `__init__.py` in the parent directory.
## Prerequisites ## Prerequisites
No prerequisites. No prerequisites in Python3.
# Other wrappers ## Other wrappers
There are a number of other wrappings into Python of Tox core. 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 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. recompile anything as with Cython - change the Python file and it's done.
CTYPES code can be brittle, segfaulting if you got things wrong,
but if your wrapping is right, it is very efficient and easy to work on.
Others include: Others include:
* <https://github.com/TokTok/py-toxcore-c> Incomplete and not really * <https://github.com/TokTok/py-toxcore-c> Cython bindings.
actively supported. Maybe it will get worked on in the future, Incomplete and not really actively supported. Maybe it will get
but TokTok seems to be working on java, rust, go, etc. bindings instead. worked on in the future, but TokTok seems to be working on
java, rust, go, etc. bindings instead.
* <https://github.com/oxij/PyTox>
forked from https://github.com/aitjcize/PyTox
by Wei-Ning Huang <aitjcize@gmail.com>.
Abandonned. Hardcore C wrapping which is not easy to keep up to date.

0
__init__.py Normal file
View File