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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: taospy-2.7.15.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.5.0-1017-azure

File hashes

Hashes for taospy-2.7.15.tar.gz
Algorithm Hash digest
SHA256 7aa009c36046ff9fa0d450b69d7052bd7df3df0bfe91c8c57342b3b0dc32fa0b
MD5 50760b788628d628c0867807ce9cbc6f
BLAKE2b-256 b45da1ebf598473ac83b5a44ea00abb956f85ee80c0d3a20c2e4b7ac36db1442

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taospy-2.7.15-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.5.0-1017-azure

File hashes

Hashes for taospy-2.7.15-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a33a0e71cebfe9b8d12763b64d7cd98b84cff4824339d84ccf983aa647f3fb
MD5 8b43f0ed35ba9f08ec9a3c903d27454c
BLAKE2b-256 2f7f11e145be2cda6cb2392f889c8286e0c60c017d2cda985260899452767e23

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