Điểm qua taosdata/taos-connector-python: 60 sao trên GitHub, viết chủ yếu bằng Python, thuộc nhóm Data. TDengine connector for Python
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
taospy is the official Python Connector for TDengine, allowing Python developers to develop applications that access the TDengine database. It supports functions such as data writing, querying, subscription, schemaless writing, and parameter binding.
The API for taospy is compliant with the Python DB API 2.0 (PEP-249). It contains two modules:
The taos module. It uses TDengine C client library for client server communications.
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.
2. Documentation
To use Python Connector, please check Developer Guide, which includes how an application can introduce the Python Connector , as well as examples of data writing, querying, schemaless writing, parameter binding, and data subscription.
For other reference information, please check Reference Manual, which includes version history, data types, example programs, API descriptions, and FAQs.
This quick guide is mainly for developers who like to contribute/build/test the Python Connector by themselves. To learn about TDengine, you can visit the official documentation.
3. Prerequisites
System Requirements
Python >= 3.7, pip
For taos native connector: TDengine client library (libtaos.so)
For taos-ws-py: Rust toolchain >= 1.64, maturin
TDengine has been deployed locally. For specific steps, please refer to Deploy TDengine, and taosd and taosAdapter have been started.
# taospy (pure Python)
git clone https://github.com/taosdata/taos-connector-python.git
cd taos-connector-python
pip3 install -e ".[dev]"
# taos-ws-py (Rust WebSocket bindings)
cd taos-ws-py
maturin develop # builds and installs in current venv
# or
maturin build --release # produces a wheel in target/wheels/
5. Testing
5.1 Test Execution
The Python Connector testing framework is pytest
The testing directory for taospy is located in the root directory: tests/
The testing directory for taos-ws-py is located in the root directory: taos-ws-py/tests/
The test code has been written into one bash file. You can open and view the detailed testing process
The following command runs all test cases on Linux platform:
# taospy
pytest tests/
# or
bash ./test_taospy.sh
# taos-ws-py
cd taos-ws-py
maturin develop
pytest tests/
cd ..
# or
bash ./test_taos-ws-py.sh
5.2 Test Case Addition
You can add new test files or add test cases in existing test files that comply with pytest standards
We welcome the submission of GitHub Issue. When submitting, please provide the following information:
Problem description, whether it always occurs, and it's best to include a detailed call stack.
Python Connector version.
Python Connection parameters (username and password not required).
TDengine server version.
9. Submitting PRs
We welcome developers to contribute to this project. When submitting PRs, please follow these steps:
Fork this project, refer to (how to fork a repo).
Create a new branch from the main branch with a meaningful branch name (git checkout -b my_branch). Do not modify the main branch directly.
Modify the code, ensure all unit tests pass, and add new unit tests to verify the changes.
Push the changes to the remote branch (git push origin my_branch).
Create a Pull Request on GitHub (how to create a pull request).
After submitting the PR, you can find your PR through the Pull Request. Click on the corresponding link to see if the CI for your PR has passed. If it has passed, it will display "All checks have passed". Regardless of whether the CI passes or not, you can click "Show all checks" -> "Details" to view the detailed test case logs.
After submitting the PR, if CI passes, you can find your PR on the codecov page to check the test coverage.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/taosdata/taos-connector-python là nguồn chính thức.
taosdata/taos-connector-python có bao nhiêu sao?
taosdata/taos-connector-python có 60 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/taosdata/taos-connector-python. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
taosdata/taos-connector-python có phải mã nguồn mở không?
Có — taosdata/taos-connector-python phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/taosdata/taos-connector-python.
taosdata/taos-connector-python còn đang phát triển không?
Commit gần nhất trên taosdata/taos-connector-python là 21 ngày trước (theo timestamp GitHub). Repo có 17 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
taosdata/taos-connector-python là gì?
taosdata/taos-connector-python (taosdata/taos-connector-python) là dự án Python trên GitHub. Theo mô tả gốc: TDengine connector for Python
taosdata/taos-connector-python so với các dự án Data khác thế nào?
taosdata/taos-connector-python được TopGit xếp vào nhóm Data, với 60 sao GitHub và viết bằng Python. Xem trang chủ đề Data trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
taos-connector-python có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về taos-connector-python.