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()
then, you will get er.md
Output Sample of Skila
ref: https://downloads.mysql.com/docs/sakila-db.tar.gz
Caution ❗
this package is not full. It cannot generate table relation, can only generate table definition 😢. (And now, only mysql... 🤣)
Future
Make CLI
Metadata
Release files for DB2mermaid 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DB2mermaid-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for DB2mermaid-1.0.3-py3-none-any.whl |
Release files / DB2mermaid-1.0.3-py3-none-any.whl
| Download URL | DB2mermaid-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79ca8bc3b3f047e175aeb2b90ae6f5f4c3979c40a825a7a27280cbef07448816
|
|
BLAKE2b-256 checksum How to use checksums |
cae67eff14326ea0b0e195041f79951658539017b0a6f813b007a17544a7c005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for DB2mermaid 1.0.3
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.