Metadata-Version: 2.4
Name: dbsketch
Version: 0.1.0
Summary: Schema-to-diagram compiler for DBML and SQL — ASCII/Unicode ERDs from the command line
Project-URL: Homepage, https://dbsketch.dev
Project-URL: Repository, https://github.com/jacobmpeters/dbsketch
Author-email: Jacob Peters <jcbptrs@gmail.com>
License: MIT
Keywords: ascii,database,dbml,diagram,erd,schema,sql,unicode
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Documentation
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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](https://dbsketch.dev)**.

## More

Full documentation and source at [github.com/jacobmpeters/dbsketch](https://github.com/jacobmpeters/dbsketch).
