db-to-db
PostgreSQL 数据库表同步工具 — Web 界面,纯 Python。
安装
pip install db-to-db
使用
# 启动 Web 界面
db-to-db run
# 或
python -m db_to_db
打开浏览器访问 http://127.0.0.1:5001。
功能
- 连接管理 — 保存多个数据库连接信息(存储在本地 DuckDB)
- 表同步 — 选择源和目标库,勾选表,一键同步
- 同步历史 — 查看过往同步记录
技术
- FastHTML — AI 时代的 Python Web 框架
- HTMX — 无需写 JS 的交互
- DuckDB — 本地配置存储
- psycopg2 — PostgreSQL 连接
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
db_to_db-0.1.0.tar.gz
(11.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
db_to_db-0.1.0-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file db_to_db-0.1.0.tar.gz.
File metadata
- Download URL: db_to_db-0.1.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f3b7588c5755b9c15859af4ba1f93cc19145db9be70a28ed226dddbb76b2989
|
|
| MD5 |
d84330526923b9e1c6ca734850b3886c
|
|
| BLAKE2b-256 |
0fbb570f86bee70f03e9fc947c2da0de2c12c185a0f0f9eb0d0543fb98170b25
|
File details
Details for the file db_to_db-0.1.0-py3-none-any.whl.
File metadata
- Download URL: db_to_db-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
387096bc86027cbc1240a65022c9e1913ddc383c343f72bb20806f54b62734ba
|
|
| MD5 |
ffc1f06e0926a823235f10151391167d
|
|
| BLAKE2b-256 |
87d49946fe308ed818a4fea44cad26e5ec90da20417592c5263a9d1d8ee7e2d6
|