Download SQLObject

The latest releases are always available on the Python Package Index, and is installable with pip or easy_install.

You can install the latest release with:

pip install -U SQLObject


easy_install -U SQLObject

You can install the latest version of SQLObject with:

easy_install SQLObject==dev

You can install the latest bug fixing branch with:

easy_install SQLObject==bugfix

If you want to require a specific revision (because, for instance, you need a bugfix that hasn’t appeared in a release), you can put this in your setuptools using file:


This says that you need revision 1485 or higher. But it also says that you can aquire the “bugfix” version to try to get that. In fact, when you install SQLObject==bugfix you will be installing a specific version, and “bugfix” is just a kind of label for a way of acquiring the version (it points to a branch in the repository).


SQLObject can be used with a number of drivers. They can be installed separately but it’s also possible to install them with pip install, for example pip install SQLObject[mysql] or pip install SQLObject[postgres]. The following drivers are available:


fdb firebirdsql kinterbasdb


adodbapi pymssql


mysql (installs MySQL-python for Python 2.7 and mysqlclient for Python 3.4+) mysql-connector oursql pymysql


pyodbc pypyodbc odbc (synonym for pyodbc)


psycopg1 psycopg2 psycopg postgres postgresql (synonyms for psycopg2) pygresql pypostgresql py-postgresql pg8000

The rest

sapdb sqlite (pysqlite) sybase


The SQLObject git repositories are located at and

Before switching to git development was performed at the Subversion repository that is no longer available.

Get SQLObject at Fast, secure and Free Open Source software downloads