Skip to main content

Converts DBML files to their graphviz representation in .dot format. It can also optionally do the additional conversion to an image format using graphviz.

Project description

dbmlviz

Tool for creating visualization from dbml files.

Originally based on dbml2dot by Antoine VIALLON.

Usage

Using uvx (recommended)

# Run directly with uvx
uvx dbmlviz -h

# Or run from local directory
uvx --from . dbmlviz -h

Using pip

pip install dbmlviz
dbmlviz -h
# Or run as module
python -m dbmlviz -h

Example

# With uvx
uvx dbmlviz -i schema.dbml -o schema.dot --type svg

# With pip install
dbmlviz -i schema.dbml -o schema.dot --type svg
# Or
python -m dbmlviz -i schema.dbml -o schema.dot --type svg

This will output two files, one named schema.dot corresponding to the generated dot output, and a svg file corresponding to the graph generated by 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 Distribution

dbmlviz-0.4.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbmlviz-0.4.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file dbmlviz-0.4.0.tar.gz.

File metadata

  • Download URL: dbmlviz-0.4.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for dbmlviz-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f892f3f84a4d8e44bdeddf63cf8bfa5dc58c9da64fafd3a78b2d6cc3e22b8a45
MD5 2d081cc063a213602b50b6d36ef29e19
BLAKE2b-256 b77399401299fb3ff9280d4d96b2e7b2e9d8353476319db345184f6ac1f11fea

See more details on using hashes here.

File details

Details for the file dbmlviz-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: dbmlviz-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for dbmlviz-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b63e27f36d03a02e8f852a19a979259aad2f6e7620dc554655bd54b1ccc110
MD5 5293fe413a39ce8b011aede992dca325
BLAKE2b-256 de7590fcf629d245eb46260ac959d0157addcdd133173d6a5933b20ec080db11

See more details on using hashes here.

Supported by

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