Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page