一个基于 Python Dash 的 ClickHouse 数据可视化练习项目。
- Python >= 3.9
- uv(推荐的 Python 包管理工具)
# 克隆项目
git clone https://gitee.com/zzditto/clickhouse_dash.git
cd clickhouse_dash
# 安装依赖
uv sync
# 启动服务
uv run clickhousedash启动后浏览器访问:http://127.0.0.1:8050/
# 使用启动脚本
./run.sh
# 传统方式
uv run python index.py在 conf/clickhouse_dash.ini 中配置 ClickHouse 连接信息:
[CLICKHOUSE]
host = localhost
port = 8123
user = your_user
password = your_password
database = your_database
send_receive_timeout = 5