
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@ks-dbdev/template-data-connector-plugin
Advanced tools
多维表格数据连接器插件开发模板
# 使用 dbdev CLI 工具
npx @ks-dbdev/cli create template
# 或全局安装后使用
npm install -g @ks-dbdev/cli
dbdev create template
选择 "数据连接器插件" 模板
template-data-connector-plugin/
├── package.json
├── plugin.json # 插件配置
├── README.md
├── src/
│ ├── main.py # Python 主逻辑
│ └── meta.json # 插件元数据和 UI 配置
├── scripts/
│ └── build.js # 构建脚本
└── dist/ # 打包输出目录
└── plugin.zip # 生成的插件包
npm install
编辑 src/main.py
实现你的数据同步逻辑,支持多种数据源对接:
# 示例:数据库连接和数据同步
def sync_data(config):
# 1. 连接数据源
# 2. 获取数据
# 3. 转换数据格式
# 4. 返回结果
pass
编辑 src/meta.json
配置插件的基本信息和 UI 界面:
plugin_name: 插件名称plugin_desc: 插件描述plugin_icon: 插件图标plugin_code: 前后端代码配置
backend: Python 后端逻辑配置frontend: UI 模板配置(账号管理、数据源配置等)执行以下命令构建插件包:
npm run build
构建完成后,会在 dist/ 目录下生成 plugin.zip 文件,即可上传到 WPS 开放平台。
数据连接器插件的 meta.json 主要包含以下部分:
示例配置参考 src/meta.json 文件。
FAQs
We found that @ks-dbdev/template-data-connector-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.