Home

notice: I've moved active development of sqlpython to Bitbucket: https://bitbucket.org/catherinedevlin/sqlpython

 

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