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.16.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

taospy-2.7.16-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taospy-2.7.16.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.12 Linux/6.8.0-1014-azure

File hashes

Hashes for taospy-2.7.16.tar.gz
Algorithm Hash digest
SHA256 1824620be485e58d5e1951869d86592ccc0cdc3fff700986ed057b57228f195a
MD5 41baf0e8fff7100a55267bb0f4f4d4f3
BLAKE2b-256 923b5f6fbbd07d932f7163b61b76de659634f5e288b5a67e583a5b82922e500b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for taospy-2.7.16-py3-none-any.whl
Algorithm Hash digest
SHA256 9834a3265c1a6591b0a2418b94a549918456ee0f628f56c728c9db32fd631691
MD5 ccee8c0c4a822e1ed72fad38cd1263f1
BLAKE2b-256 e5ac1b4da6bb01d6f894945d0792af9c9f2e2c9802ff5a78f7b089b2225db9e4

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