Metadata-Version: 2.4
Name: plainkitbin-sqlitemd
Version: 1.0.0
Summary: Offline SQLite schema exporter for LLM context. Stdlib only, no network at runtime.
Author: PlainKitBin
License: MIT License
        
        Copyright (c) 2026 PlainKitBin
        
        Permission is hereby granted, free of charge, to any person obtaining a
        copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be included
        in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
        IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
        CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
        TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
        SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
        GOVERNING LAW
        This Agreement shall be governed by and construed in accordance with the laws of Japan.
        
        EXPORT COMPLIANCE
        You agree to comply with all applicable export and import laws and regulations. The product must not be exported to embargoed countries or sanctioned individuals.
        
        ACCEPTABLE USE
        You agree not to use the product for any unlawful, illegal, or malicious activities.
        
        SEVERABILITY
        If any provision of this license is held to be invalid or unenforceable, the remaining provisions shall remain in full force and effect.
        
Project-URL: Homepage, https://plainkitbin.gumroad.com
Project-URL: Source, https://github.com/plainkitbin/sqlitemd
Keywords: sqlite,schema,markdown,cli,offline
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# SQLiteMD

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

## Usage

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

## CRON example

```bash
# 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](https://plainkitbin.gumroad.com) 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](https://plainkitbin.gumroad.com/l/PlainKitBinDirSnapshot).

Provided as-is with no individual support.


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