Cover the rest of python bindings from shared library, add tests, add docstrings, add setup.py.

This commit is contained in:
Maxim Vasilev
2020-08-11 00:12:43 +03:00
parent dc6fc02209
commit 08bc9bca0e
12 changed files with 758 additions and 20 deletions

View File

@ -21,8 +21,8 @@ $ python enry.py
## TODOs
- [x] helpers for sending/receiving Go slices to C
- [ ] read `libenry.h` and generate `ffibuilder.cdef(...)` content
- [ ] cover the rest of enry API
- [ ] add `setup.py`
- [x] read `libenry.h` and generate `ffibuilder.cdef(...)` content
- [x] cover the rest of enry API
- [x] add `setup.py`
- [ ] build/release automation on CI (publish on pypi)
- [ ] try ABI mode, to avoid dependency on C compiler on install (+perf test?)