Schema-to-diagram compiler for DBML and SQL — ASCII/Unicode ERDs from the command line
Project description
dbsketch
ASCII/Unicode ERD diagrams from DBML or SQL schemas — designed to look clean in READMEs, docstrings, and LLM prompts.
pip install dbsketch
dbsketch schema.sql
dbsketch schema.dbml
No Node.js installation required — a suitable runtime is downloaded automatically on first use.
Usage
dbsketch [options] <file>
Options:
--no-types Hide column types
--no-columns Show table names only
--ascii Use ASCII box-drawing (default: Unicode)
--sql Force SQL input mode (auto-detected from .sql extension)
Example
dbsketch schema.sql > docs/erd.txt
Web playground
Try it in the browser at dbsketch.dev.
More
Full documentation and source at github.com/jacobmpeters/dbsketch.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbsketch-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dbsketch-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
987768819b898bd62ff05f790fecbc37285c169b29729441f2bf379ad73cc899
|
|
| MD5 |
4489378753c5e6392218e5b13a9099bb
|
|
| BLAKE2b-256 |
7c5b02d435a02c46ae855a9fdd9d473a209304805f163c990ff8e4e8e632f8cf
|
Provenance
The following attestation bundles were made for dbsketch-0.2.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on jacobmpeters/dbsketch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbsketch-0.2.1-py3-none-any.whl -
Subject digest:
987768819b898bd62ff05f790fecbc37285c169b29729441f2bf379ad73cc899 - Sigstore transparency entry: 1602113541
- Sigstore integration time:
-
Permalink:
jacobmpeters/dbsketch@e4f8e1697f05c58d9fb367135816d7a3e79393f3 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/jacobmpeters
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@e4f8e1697f05c58d9fb367135816d7a3e79393f3 -
Trigger Event:
push
-
Statement type: