--- id: litecli version: "1.17.1" license: BSD license_treatment: permissive maintenance: active --- # litecli — CLI for SQLite Databases with auto-completion and syntax highlighting. License: permissive · Maintenance: active · Downloads: 90.6K/mo ## What it is and what it does litecli is a terminal-based interface for SQLite that replaces the standard sqlite3 command-line tool with a more user-friendly experience. It adds auto-completion for SQL keywords and table names, syntax highlighting for queries, and configuration options to customize the interactive shell. The tool reads and writes a config file on first launch, storing user preferences for future sessions. You run it by passing a SQLite database filename as an argument, and it opens an interactive prompt where you can type SQL queries. The auto-completion and syntax highlighting are powered by prompt-toolkit, pygments, and sqlparse—dependencies that handle terminal interaction, code highlighting, and SQL parsing respectively. It's useful for developers and DBAs who spend time querying SQLite databases interactively and want faster query entry and better readability. Use it for: - Interactive exploration of SQLite database schemas and data during development - Quick ad-hoc queries without writing Python scripts or opening a GUI tool - Teaching SQL or demonstrating database concepts with a modern, readable terminal interface - Scripting or automation where a lightweight, scriptable CLI is preferable to heavier database tools ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A command-line client for SQLite databases with auto-completion and syntax highlighting, designed to make interactive database queries faster and more readable. Yes. litecli is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for developers who work with SQLite interactively. The permissive BSD license poses no restrictions. Install it if you spend time querying SQLite from the command line. ## Install pip install litecli uv add litecli poetry add litecli ## Installing litecli Before you install: Low friction installation as a pure Python wheel with six common dependencies. Actively maintained with recent releases; last commit 2026-06-18 and latest release 2026-01-31 indicate ongoing development. License in practice: BSD license is permissive, allowing commercial and private use with minimal restrictions. Quickstart: pip install litecli litecli mydb.sqlite # Then use interactive shell with auto-completion and syntax highlighting Requires Python 3.9 or later Verify before relying: - Whether the optional sqlean extra adds significant capability or is primarily for advanced SQL functions - Performance characteristics when working with large SQLite databases ## Package facts - License: BSD (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 90.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags sqlite command line client, sqlite cli with autocomplete, interactive sqlite shell, sqlite database terminal, sqlite syntax highlighting, litecli sqlite repl, cli-tool, sqlite, repl [View on SkillFed](https://skillfed.io/packages/litecli) · [View on PyPI](https://pypi.org/project/litecli/)