Skip to main content

SQLiteMD

Export a SQLite schema to Markdown for LLM context -- offline, no dependencies. Python 3.8+, stdlib only (sqlite3). No network at runtime.

Usage

python3 sqlitemd.py export my.db -o schema.md
python3 sqlitemd.py schema my.db -o schema.json

CRON example

# Weekly schema doc for a local analytics db
0 3 * * 0 cd /path/to/sqlitemd && python3 sqlitemd.py export /data/app.db -o /backup/schema.md

Limitations

Read-only introspection. Does not migrate data. Complex attached databases are not supported.

Free and open source (MIT license, see LICENSE). No telemetry, no network calls, no nagware.

Part of the PlainKitBin toolset -- small, offline, single-file utilities with automated tests and a provenance record for every release. If you find this useful, check out PlainKitBin DirSnapshot.

Provided as-is with no individual support.


Built with AI assistance and automatically tested before release; released under human oversight.

Metadata

Release files for plainkitbin-sqlitemd 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plainkitbin-sqlitemd 1.0.2
File Size Uploaded
plainkitbin_sqlitemd-1.0.2.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plainkitbin-sqlitemd 1.0.2
File Interpreter ABI Platform
plainkitbin_sqlitemd-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / plainkitbin_sqlitemd-1.0.2.tar.gz

Download URL plainkitbin_sqlitemd-1.0.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af0181162d5a0157a1354dfc321ff1aca7524e1d2f0176f96854e81009bcd137
BLAKE2b-256 checksum
How to use checksums
e3e068c0de13b3db5fb18a6c5c017bc753bd67da4d566c25c352f56592ed7d53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / plainkitbin_sqlitemd-1.0.2-py3-none-any.whl

Download URL plainkitbin_sqlitemd-1.0.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e3542acc3d114bac5d89d1016912d07bcc5cb6580fce6f0949a81bdedac3b8
BLAKE2b-256 checksum
How to use checksums
1cd26001d3437376bc6ac3b2e55ed20ff344afad7922e962ef632ac784cc6356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page