python: Import improved python bindings.
This commit imports the python bindings from: https://github.com/poljar/python-olm The bindings are imported at commit c44b145818520d69eaaa350fb95afcb846125e0f Minor modifications were made while importing: - Removed travis config - Removed Arch Linux PKGBUILD - Removed the html docs, they can be rebuild by running make html in the docs folder - Slightly modified the README The new bindings feature some improvements over the old ones: - Python 2 and 3 support - Automatic memory management - Automatic memory clearing before it is freed - Type signatures via the python typing module - Full test coverage - Properties are utilized where it makes sense (e.g. account.id) Signed-off-by:Damir Jelić <poljar@termina.org.uk>
Showing
- python/.gitignore 11 additions, 0 deletionspython/.gitignore
- python/LICENSE 177 additions, 0 deletionspython/LICENSE
- python/MANIFEST.in 3 additions, 0 deletionspython/MANIFEST.in
- python/Makefile 35 additions, 0 deletionspython/Makefile
- python/README.md 164 additions, 0 deletionspython/README.md
- python/docs/Makefile 20 additions, 0 deletionspython/docs/Makefile
- python/docs/conf.py 165 additions, 0 deletionspython/docs/conf.py
- python/docs/index.html 1 addition, 0 deletionspython/docs/index.html
- python/docs/index.rst 19 additions, 0 deletionspython/docs/index.rst
- python/docs/make.bat 36 additions, 0 deletionspython/docs/make.bat
- python/docs/olm.rst 34 additions, 0 deletionspython/docs/olm.rst
- python/include/olm/olm.h 787 additions, 0 deletionspython/include/olm/olm.h
- python/olm/__init__.py 26 additions, 0 deletionspython/olm/__init__.py
- python/olm/__version__.py 9 additions, 0 deletionspython/olm/__version__.py
- python/olm/_compat.py 24 additions, 0 deletionspython/olm/_compat.py
- python/olm/_finalize.py 65 additions, 0 deletionspython/olm/_finalize.py
- python/olm/account.py 239 additions, 0 deletionspython/olm/account.py
- python/olm/group_session.py 467 additions, 0 deletionspython/olm/group_session.py
- python/olm/session.py 452 additions, 0 deletionspython/olm/session.py
- python/olm/utility.py 91 additions, 0 deletionspython/olm/utility.py
Loading
Please register or sign in to comment