Simple tool to generate database schema documentation
Project description
Simple tool to generate database schema documentation and export in svg, dot, rst or csv
Install
pip install erdammer
Usage
Run erdammer –help for a list of options.
Things to note, to connect to the database you will have to supply a connection string uri. For example
erdammer --uri "mysql+mysqlconnector://user:password@server/dbname" -output="db-schema/" -format=svg
By default svg export creates a file called erd.svg in the directory you specified in output, in this case it is ./db-schema.
If on the other hand you execute
erdammer --uri "mysql+mysqlconnector://user:password@server/dbname" -output="db-schema/" -format=rst
One ReStructured file per table will be created, with table name as filename.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
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 Distribution
erdammer-0.0.5.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for erdammer-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600d2cc88efa139fe29e65b2e47949d312bfe6a9acc7a33f0b3babbc96f7fdeb |
|
MD5 | c8a3aeb24c5e70c94f3085ceb2414246 |
|
BLAKE2b-256 | 10ca75fc98b1c6e2509e58bb0bc3362638ae1ea80f6d43a49363f7bf155ff57b |