Visualize database relationship for SQLAlchemy
Project description
What's this
Visualize SQL relationship for SQLAlchemy ORM.
You can get dot file for graphviz.
viz_alchemy -i example\test_db.py
Installation
You can install from pip.
pip install viz_alchemy
or
python setup.py install
Usage
usage: viz_alchemy [-h] -i INPUT [-o OUTPUT] [-n NAME] [-f FORMAT]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input script path
-o OUTPUT, --output OUTPUT
Output file
-n NAME, --name NAME class name at the input file
-f FORMAT, --format FORMAT
Now format is not working.
ToDO
- Add unit test
- Code refactoring for more update
- Directly convert dot to image using graphviz.
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
viz_alchemy-0.0.1-py3.7.egg
(6.8 kB
view details)
File details
Details for the file viz_alchemy-0.0.1-py3.7.egg
.
File metadata
- Download URL: viz_alchemy-0.0.1-py3.7.egg
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e403fb7c58fc1034ea57e3ecd4afc3b2f080c8ce16edbc4017c736272a509f7 |
|
MD5 | b775f93a633c763a7d25e84dbc8465bc |
|
BLAKE2b-256 | c82f13d0fc9c399937645852b3647b744016ed6c2189974b72035b8ef68c480d |