Airflow TDengine Provider
The Airflow Provider for TDengine.
Usage
Build the package locally, and install it on your Airflow environment.
pip install dist/sciaiot_airflow_providers_tdengine-0.1.2-py3-none-any.whl
Or via PyPI:
pip install sciaiot-airflow-providers-tdengine
Add a connection to Airflow via CLI:
airflow connections add 'tdengine_default' --conn-uri 'tdengine://root:taosdata@tdengine:6030'
Test it:
airflow connections test tdengine_default
NOTICE: The client driver taosc must be installed since only native connector i.e. tdengine is supported now.
Sample Operator
from sciaiot.airflow.providers.tdengine.operators.tdengine import BaseTDengineOperator
class CustomTDengineOperator(BaseOperator):
def __init__(self, *, **kwargs) -> None:
super().__init__(conn_id=conn_id, database=database, **kwargs)
def execute(self, context: Context) -> None:
statement = "SELECT server_status()"
hook = self.get_hook()
hook.run(statement=statement)
Development
IDE
Use devcontainer with VS Code.
Database
Run the tests/DDL.sql in taos CLI to setup a test database.
Code Style
In the root folder of project, run:
# add -v for verbose output
# add --fix for auto fixing
ruff check
Or with the Ruff extension installed, run commands for any opening python file.
Type Check
In the root folder of project, run:
mypy .
Install
In the root folder of project, run:
pip install -e .
Test
In the root folder of project, run:
pytest .
Build
Add build package:
pip install build
In the root folder of project, run:
python -m build
Metadata
Release files for sciaiot-airflow-providers-tdengine 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sciaiot_airflow_providers_tdengine-0.1.7.tar.gz | 11.1 kB | With provenance | Details for sciaiot_airflow_providers_tdengine-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sciaiot_airflow_providers_tdengine-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for sciaiot_airflow_providers_tdengine-0.1.7-py3-none-any.whl |
Total release size: 22.9 kB
Release files / sciaiot_airflow_providers_tdengine-0.1.7.tar.gz
| Download URL | sciaiot_airflow_providers_tdengine-0.1.7.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
985e43c5c85f07e5440b3885fb3bd55fb41b4b5fd936332ddbd48c1c2b0cd600
|
|
BLAKE2b-256 checksum How to use checksums |
0fd67d91228ec76b3b23061b672b68f0fdce5cb7abd63b71fbff52aa3afafb43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2025.
Transparency logRelease files / sciaiot_airflow_providers_tdengine-0.1.7-py3-none-any.whl
| Download URL | sciaiot_airflow_providers_tdengine-0.1.7-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d9a5ee2e5be97b060a5ed14a0367d100f1674db0d17b711f243eae3b7e388f2
|
|
BLAKE2b-256 checksum How to use checksums |
f2ce011c4edc57690f7d2bccdc407a5b7367d95cf8af635ee26780f6b6926eb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2025.
Transparency logSecurity for sciaiot-airflow-providers-tdengine 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sciaiot_airflow_providers_tdengine-0.1.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.