Version 5, last updated by krishardy at August 02, 2011 11:10 UTC

sqlpython is...

A command-line client for Oracle, PostgreSQL and MySQL database access. A fun alternative to the native command-line clients that ship with the databases (ie. Oracle's SQL*Plus, Postgres' psql, MySQL's mysql).

Documentation

The full documentation is available at http://packages.python.org/sqlpython/

Getting the sqlpython source

The project is managed with Mercurial (ignore the Subversion tab). You can install on your machine with mercurial by issuing:

hg clone http://hg.assembla.com/sqlpython sqlpython
cd sqlpython
python setup.py develop

The sqlpython trunk generally depends on the cmd2 trunk, so you'll want that, too (in fact, do this first):

hg clone http://hg.assembla.com/python-cmd2
cd cmd2
python setup.py develop