taos-connector-python icon indicating copy to clipboard operation
taos-connector-python copied to clipboard

TDengine connector for Python

Results 29 taos-connector-python issues
Sort by recently updated
recently updated
newest added

代码 conn = taos.connect( host="127.0.0.1", user="root", password="taosdata", port=6030, ) db = "power" conn.execute(f"DROP DATABASE IF EXISTS {db}") conn.execute(f"CREATE DATABASE {db}") # change database. same as execute "USE db" conn.select_db(db) #...

============================= test session starts ============================== collecting ... test_native_cursor.py:None (test_native_cursor.py) test_native_cursor.py:1: in import taos ../taos/__init__.py:2: in from taos.connection import TaosConnection ../taos/connection.py:2: in from taos.cinterface import * ../taos/cinterface.py:79: in _libtaos.taos_get_client_info.restype = c_char_p...

用sqlalchemy insert 会出现问题,近期会补充这部分代码逻辑嘛?

## 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` , `setuptools` and...

reappear and error msg: ``` import taos import pyarrow as pa ``` ``` munmap_chunk(): invalid pointer [1] 8417 IOT instruction ipython ``` ![image](https://github.com/taosdata/taos-connector-python/assets/14867856/5c7aa7f4-c2e8-4273-a84e-a86d72295077) python version: 3.11.4 pyarrow version: 12.0.1 libarrow...

Hi there, I was wondering if there is a way to import pandas dataframes. I saw how to export data into a dataframe but couldn't find the reverse. Thanks.

https://github.com/taosdata/taos-connector-python/blob/297e0a3ca5bc56f68775b72ca5ad67230224d23d/pyproject.toml#L11 This would taint the namespace of site-packages!

When using a dnode, create a connect like this: taos.connect(host=self.host, port=self.port, user=self.user, password=self.pwd, database=self.db, timezone=self.tz).When I use this connect object to query sql twice,it throws an exception:[0x000b]: Unable to establish...

部分系统数据流转用的是时间戳,需要增加api控制是否进行时间戳转换。 目前是有入侵式地使用,2.2.1版本升级到2.3.5后有不兼容问题。 ``` def _crow_timestamp_to_python(data, num_of_rows, nbytes=None, precision=FieldType.C_TIMESTAMP_UNKNOWN): """Function to convert C bool row to python row""" if precision == FieldType.C_TIMESTAMP_MILLI: _divide = 1e+3 elif precision == FieldType.C_TIMESTAMP_MICRO: _divide =...

The previous link returns 404. Fixes #252.