Visualizing SQL databases
Project description
sqlmermaid
Creates pretty schema diagrams like this one, simply from a constring
erDiagram
complaints {
INTEGER about_dept FK
INTEGER by_user FK
DATETIME at_time
VARCHAR-500 text "in index: comp_ind"
}
departments {
INTEGER department_id PK
VARCHAR-60 department_name
}
user {
INTEGER user_id PK
VARCHAR-16 user_name
VARCHAR-60 email_address
VARCHAR-50 nickname
}
employees {
INTEGER employee_id PK
VARCHAR-60 employee_name
INTEGER employee_dept FK
}
complaints ||--|{ user : "by_user"
complaints ||--|{ departments : "about_dept"
employees ||--|{ departments : "employee_dept"
erDiagram
complaints {
INTEGER about_dept FK
INTEGER by_user FK
DATETIME at_time
VARCHAR-500 text "in index: comp_ind"
}
departments {
INTEGER department_id PK
VARCHAR-60 department_name
}
user {
INTEGER user_id PK
VARCHAR-16 user_name
VARCHAR-60 email_address
VARCHAR-50 nickname
}
employees {
INTEGER employee_id PK
VARCHAR-60 employee_name
INTEGER employee_dept FK
}
complaints ||--|{ user : "by_user"
complaints ||--|{ departments : "about_dept"
employees ||--|{ departments : "employee_dept"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlmermaid-0.1.4.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file sqlmermaid-0.1.4.tar.gz
.
File metadata
- Download URL: sqlmermaid-0.1.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc49b0aed8bc1fd517859f3f0b8c8d074d575907f874501e044432d2af6d45a |
|
MD5 | 4ccd398695e542fa7e8c142f08c5b863 |
|
BLAKE2b-256 | 0c373969fa63f0562d680575b5c6eba321918dd4fff8a6e1d8857ae02194273a |
File details
Details for the file sqlmermaid-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: sqlmermaid-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c0380abd37f5a7fc1a9e2a3eb1f710f046faaa2905dd00ff58960d71d23d15 |
|
MD5 | f8dd4b4902c0d3686bbb397b81c75a41 |
|
BLAKE2b-256 | 1196a4d47b79252fb5d9661eb27ba5a06832128adf038743cd4ab2eb93b5ba4e |