SQLAlchemyViz
SQLAlchemyViz is a command line utility to create entity-relations diagrams from database schemas modeled with SQLAlchemy using Graphviz.
Requirements
Requires Graphviz installed on your machine and the SQLAlchemy and pydot packages.
License
SQLAlchemyViz is distributed under the MIT License.
Quickstart
Create an ER diagram from a sqlalchemy schema object.
- positional arguments:
pkg.module:metadata Import path for the metadata identifier.
- optional arguments:
- -h, --help
show this help message and exit
- -f FILE, --file FILE
Write diagram to specified file {default: diagram.pdf}.
- -p PROG, --prog PROG
Name of the graphviz layout program to use {default: “dot”}. Other choices are: “dot”, “twopi”, “circo” or “fdp”.
- -o OPTION, --opt OPTION
Where OPTION is e.g. “graph_bgcolor=red”. May be supplied multiple times.
- -g GRAPHVIZ_PATH, --graphviz GRAPHVIZ_PATH
Path to folder containing the graphviz executables.
- -i INCLUDE_TABLES, --include INCLUDE_TABLES
Include the given comma separated list of tables or classes. If omitted, create diagram for all.
- -x EXCLUDE_TABLES, --exclude EXCLUDE_TABLES
Exclude the given comma separated list of tables or classes.
- --sort-columns
Sort columns by whether they are primary or foreign keys and (case-insensitive) alphabetically.
- --unique-relations
Draw relations between tables only once (if multiple foreign keys reference the same table).
- --show-constraints
Show table constraints.
- --max-cols MAX_COLS
Limit amount of columns shown per table.
Metadata
Release files for SQLAlchemyViz 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SQLAlchemyViz-0.4.tar.gz | 7.4 kB | Without provenance | Details for SQLAlchemyViz-0.4.tar.gz |
Release files / SQLAlchemyViz-0.4.tar.gz
| Download URL | SQLAlchemyViz-0.4.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68d442ef8718f2a938302f7c34371ed73c2a2d4f2e98a70a4fe79e7ab2304c29
|
|
BLAKE2b-256 checksum How to use checksums |
61d290770d9b562050a83219e60f26f46ae7fc22af8825d3211125c488c3127c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for SQLAlchemyViz 0.4
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.