Skip to main content

TDengine connector for python

Project description

TDengine Connector for Python

Github Workflow PyPI Version PyPI Downloads CodeCov
workflow PyPI PyPI codecov

TDengine connector for Python enables python programs to access TDengine, using an API which is compliant with the Python DB API 2.0 (PEP-249). It contains two modules:

  1. The taos module. It uses TDengine C client library for client server communications.
  2. The taosrest module. It wraps TDengine RESTful API to Python DB API 2.0 (PEP-249). With this module, you do not need to install the TDengine C client library.

Install taospy

You can use pip to install the connector from PyPI:

pip install taospy

Or with git url:

pip install git+https://github.com/taosdata/taos-connector-python.git

Note: taospy v2.7.2 requirs Python 3.6+. The early versions of taospy from v2.5.0 to v2.7.1 require Python 3.7+.

Install taos-ws-py

Install with taospy

pip install taospy[ws]

Install taos-ws-py only

pip install taos-ws-py

Note: The taosws module is provided by taos-ws-py package separately from v2.7.2. It is part of early version of taospy. taos-ws-py requires Python 3.7+.

Docs

Reference

Limitation

  • taosrest is designed to use with taosAdapter. If your TDengine version is older than v2.4.0.0, taosAdapter may not be available.

License

We use MIT license for Python connector.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taospy-2.7.13.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

taospy-2.7.13-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file taospy-2.7.13.tar.gz.

File metadata

  • Download URL: taospy-2.7.13.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for taospy-2.7.13.tar.gz
Algorithm Hash digest
SHA256 006db04fd120d66a9cac51fb63649fcfd8dd190476be5e41b225eb074f7a309e
MD5 cd56139210e9ab8dc5e5d1f01b70350e
BLAKE2b-256 7719328b7f79eeae888f8628947678b6c9168fe04cf58ac747d8738080734ab1

See more details on using hashes here.

File details

Details for the file taospy-2.7.13-py3-none-any.whl.

File metadata

  • Download URL: taospy-2.7.13-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for taospy-2.7.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5d0f5dfa5696b6a10a51d5b2d849593e3d937be159a98c116dfe83161b9cc4
MD5 6908da622abb2f05eef5c259ad940710
BLAKE2b-256 9143e7122febad7c9219026817a6a91eb54e621fde92111e4ac15859e9cdd69b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page