taos-connector-python
taos-connector-python copied to clipboard
Enh/cython
use cython to wrap dynamic linking into python object
- add serval pyx files(
_cinterface.pyx,_objects.pyx,_constant.pyx,_parser.pyx), which can replace the legacy objects -
build.py,cython,setuptoolsand compiler are required to build these code -
faster, morepythonicandasyncsupported -
not compatiblewith earlier taos versions yet - developed under
python 3.10.12,taos client 3.1.0.0,taos server 3.1.0.0, not fully tested with other versions yet - add more examples and tests (further test is still needed)
- query
3~4 timesfaster when test with taosbenchmark data - I left the other python file almost untouch to let you guys determine when and how to switch these and the legacy code
- the comments with
FIXME,BUGneed to be reviewed, I`m not sured about these code
能否关注一下这个pr @zitsen @sunpe @AdamEECS