db -> mermaid ER code
Project description
make-mermaid-swim-by-db
make mermaid ER code from db (python)
Require
- Python3.10
- sqlalchemy
- mysqlclient
- your (mysql)DB
usage
- install
pip install DB2mermaid
- use
from db2mermaid.db2mermaid import DB2Mermaid
dm = DB2Mermaid()
dm.init_db("user", "pasword", "127.0.0.1", "3306", "db_name")
dm.generate()
Caution ❗
this package is not full. It cannot generate table relation, can only generate table definition 😢. (And now, only mysql... 🤣)
Future
Make CLI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for DB2mermaid-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6df37b318f19352cda93872e712e3185edcc72c16c2749f2b47f51f81c47dc1 |
|
MD5 | 4949e159154a86bc1f0fe035aea12aa9 |
|
BLAKE2b-256 | f425cec62b3d5708006d726adcb082ad69186abc27d6a9afc3bc53d8e5310f00 |