VeighNa框架的TDengine数据库接口
说明
基于TDengine的Python连接器taospy开发的TDengine数据库接口。
需要使用TDengine 3.3.4.8以上版本。
使用
在VeighNa中使用TDengine时,需要在全局配置中填写以下字段信息:
| 名称 | 含义 | 必填 | 举例 |
|---|---|---|---|
| database.name | 名称 | 是 | taos |
| database.host | 地址 | 是 | localhost |
| database.port | 端口 | 是 | 6030 |
| database.database | 实例 | 是 | vnpy |
| database.user | 用户名 | 是 | root |
| database.password | 密码 | 是 | taosdata |
连接
连接前需要根据环境安装配置TDengine的客户端和服务端,TDengine的安装流程请参考官方文档。
新手用户推荐选择Docker方式运行,Windows系统上的整体流程如下:
- 安装启动Docker Desktop软件
- 在命令行中拉取最新版本TDengine容器镜像:
docker pull tdengine/tdengine:latest - 运行当前仓库中的start_docker.sh脚本,启动TDengine容器
- 安装TDengine的Windows客户端软件:TDengine-client-3.3.4.8-Windows-x64.exe (10.2 M)
- 安装vnpy_taos模块:
pip install vnpy_taos - 参考上一步【使用】中的内容修改VeighNa Trader全局配置中的相关字段
- 重启VeighNa Trader即可开始使用
Metadata
Release files for vnpy_taos 1.1.1
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 |
|---|---|---|---|---|
| vnpy_taos-1.1.1.tar.gz | 7.6 kB | Without provenance | Details for vnpy_taos-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vnpy_taos-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for vnpy_taos-1.1.1-py3-none-any.whl |
Total release size: 15.3 kB
Release files / vnpy_taos-1.1.1.tar.gz
| Download URL | vnpy_taos-1.1.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ec1f8be92ce0b912f177d8dcc366a2451427303aef690928e51231de9405d2
|
|
BLAKE2b-256 checksum How to use checksums |
4215af7bad953ca090dafaf81fa2fc606009e514f015a8a922b067a52ba6fbd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / vnpy_taos-1.1.1-py3-none-any.whl
| Download URL | vnpy_taos-1.1.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a403967d7d57a726dec61318b6cdb56e9c087986d6281e8be0a0f67baf72b351
|
|
BLAKE2b-256 checksum How to use checksums |
07238a92ff96910db05656b521df8da9f0f9f102b83c887f86f71386aaf0bede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for vnpy_taos 1.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.