Get SQLAlchemy
Releases
Latest 0.5 Release: 0.5.4p2 (0.5.4p2 via Sourceforge) (0.5.4p2 via Cheeseshop) (CHANGES) (migration guide)
(View all releases on Sourceforge)
Note: You may need to install the latest version of setuptools in order to install SQLAlchemy. While SQLAlchemy includes the easy install bootloader to automatically install Setuptools, it apparently cannot download any version of Setuptools that is newer than the script itself (sort of defeats the purpose of an auto-installer...).
0.6 Development
The next major version of SQLAlchemy will be 0.6. This series is currently in a development branch:
svn checkout http://svn.sqlalchemy.org/sqlalchemy/branches/rel_0_6 sa06
0.6 addresses these major areas:
- Python 3 Compatibility. The codebase can be converted using an enhanced 2to3 tool, and a py3k release will be available on cheeseshop.
- Effective re-use of database dialects among multiple DBAPI implementations, including pyodbc, zxjdbc, pg8000, psycopg2. Connection strings now take on the form of dialect+dbapi, such as
postgres+pg8000://. New DBAPIs can be supported on a module-drop-in basis. - Consolidation of all SQL/DDL generation into a common compiler framework. DDL operations like CREATE TABLE and such are now represented in the same way as other SQL expression constructs. User-defined compilation operations may be defined for any custom element/backend combination. Generation of type specifications moves into the compiler framework as well cutting down on the need for dialect-specific TypeEngine subclasses.
0.6 is expected to move into the trunk soon.
0.5 Development
The latest changelog in trunk is at CHANGES, or for more detail see the timeline.
A document in progress describing the 0.5 release is in 05Migration.
The latest development version is available via SVN checkout:
svn checkout http://svn.sqlalchemy.org/sqlalchemy/trunk sqlalchemy
A Mercurial mirror of the trunk is also available on bitbucket.org:
hg clone http://bitbucket.org/mirror/sqlalchemy/
0.4 Maintenance Branch
The 0.4 Series is now in a maintenance branch.
SVN branch:
svn checkout http://svn.sqlalchemy.org/sqlalchemy/branches/rel_0_4 sqlalchemy
Changelog for the 0.4 series: CHANGES
Documentation on what changed from 0.3 to 0.4 is at: WhatsNewIn04.
0.3 Maintenance Branch
The 0.3 Series is now in a maintenance branch.
Download 0.3.11 from sourceforge or cheeseshop.
SVN branch:
svn checkout http://svn.sqlalchemy.org/sqlalchemy/branches/rel_0_3 sqlalchemy
Changelog for the 0.3 series: CHANGES
License
SQLAlchemy is covered by the MIT License.

