diff --git a/README.md b/README.md index 651e721..e6812a5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # toxygen_wrapper -ctypes wrapping of libtoxcore -into Python. Taken from the now abandoned - `next_gen` branch. - +ctypes wrapping of [Tox](https://tox.chat/) libtoxcore + +into Python. Taken from the wrapper directory of the now abandoned + `next_gen` branch +by Ingvar. + The basics of NGC groups are supported. ## Install @@ -13,17 +15,26 @@ touch a file called `__init__.py` in the parent directory. ## Prerequisites -No prerequisites. +No prerequisites in Python3. -# Other wrappers +## 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 got things wrong, +but if your wrapping is right, it is very efficient and easy to work on. Others include: -* Incomplete and not really - actively supported. Maybe it will get worked on in the future, - but TokTok seems to be working on java, rust, go, etc. bindings instead. +* Cython bindings. + Incomplete and not really actively supported. Maybe it will get + worked on in the future, but TokTok seems to be working on + java, rust, go, etc. bindings instead. + +* + forked from https://github.com/aitjcize/PyTox + by Wei-Ning Huang . + Abandonned. Hardcore C wrapping which is not easy to keep up to date. + diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29