If you use sqlite3
as a shell to manage SQLite databases, then you
might want to consider using [APSW][1], "Another Python SQLite Wrapper".
When run through the Python interpreter, the APSW library has an interactive shell, much like the one included with sqlite3, but with some added functionality like .autoimport. A list of [what APSW does better][2] can be found in the docs.