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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plainkitbin_sqlitemd-1.0.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

plainkitbin_sqlitemd-1.0.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file plainkitbin_sqlitemd-1.0.2.tar.gz.

File metadata

  • Download URL: plainkitbin_sqlitemd-1.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for plainkitbin_sqlitemd-1.0.2.tar.gz
Algorithm Hash digest
SHA256 af0181162d5a0157a1354dfc321ff1aca7524e1d2f0176f96854e81009bcd137
MD5 86bbc40cc345157e6365b584667e38d7
BLAKE2b-256 e3e068c0de13b3db5fb18a6c5c017bc753bd67da4d566c25c352f56592ed7d53

See more details on using hashes here.

File details

Details for the file plainkitbin_sqlitemd-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for plainkitbin_sqlitemd-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6e3542acc3d114bac5d89d1016912d07bcc5cb6580fce6f0949a81bdedac3b8
MD5 02f82c3f97f07d9f74fa76588c5e8eda
BLAKE2b-256 1cd26001d3437376bc6ac3b2e55ed20ff344afad7922e962ef632ac784cc6356

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 Sentry Error logging StatusPage Status page