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

Uploaded Source

Built Distribution

taospy-2.7.10-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taospy-2.7.10.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1040-azure

File hashes

Hashes for taospy-2.7.10.tar.gz
Algorithm Hash digest
SHA256 bb4cd1c0560c0f39760a9a50e8b2984f985cc954369a2b2af6848c45fd510d76
MD5 592a4a3079cc1587b1fab4323e64896a
BLAKE2b-256 2d57e184f593f90cb0a5b2580653bc8f7756891f9a568fc8432469814e1a5fac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taospy-2.7.10-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1040-azure

File hashes

Hashes for taospy-2.7.10-py3-none-any.whl
Algorithm Hash digest
SHA256 c5a1c603eb83ee791a8571d0945496f0b7441f791c82e33ac4f3d422db3b6ca2
MD5 9f49f7f8ca781339c3d41556d69be0f5
BLAKE2b-256 5c273ca0081c197c37b57155dc34e901692e31dd9a7600f29754050275e9ef74

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