Skip to content

About

Generate a self-contained HTML data dictionary from a local SQLite database.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

SQLite Schema Doc banner

Typing title

SQLite Schema Doc illustration

🧭 Overview

SQLite Schema Doc opens a local database in read-only mode and generates a portable HTML data dictionary for tables and views, including columns, indexes, and foreign-key relationships.

✨ Features

  • 🗃️ List tables and views with their SQL definitions
  • 🧱 Document column types, primary keys, and nullability
  • 🔗 Show indexes and foreign-key relationships
  • 🔒 Open the database read-only; never modify schema or data

🖥️ Demo

No hosted demo is provided. Run the project locally using the quick-start command.

🚀 Quick Start

Requires Python 3.10 or newer.

python main.py ./example.db --output schema-report.html

Run checks with python -m unittest discover -s tests -v.

🧰 Tech Stack

  • Python standard library
  • argparse CLI and unittest
  • Read-only inspection by default

🗂️ Folder Structure

.
├── .github/workflows/ci.yml
├── assets/mark.svg
├── tests/test_main.py
├── main.py
├── pyproject.toml
└── README.md

🗺️ Roadmap

  • Add more edge-case fixtures
  • Improve machine-readable output
  • Keep the core workflow lightweight and local-first

🤝 Contributing

Issues and focused pull requests are welcome. Add regression tests for parser and reporting changes.

📄 License

MIT License. See LICENSE.

Animated wave footer

About

Generate a self-contained HTML data dictionary from a local SQLite database.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages