SQLAlchemy has been tested against the following platforms:
-* cPython since version 2.4, through the 2.xx series
+* cPython since version 2.5, through the 2.xx series
* cPython version 3, throughout all 3.xx series
* `Jython <http://www.jython.org/>`_ 2.5 or greater
* `Pypy <http://pypy.org/>`_ 1.5 or greater
+.. versionchanged:: 0.8
+ Python 2.5 is now the minimum Python version supported.
+
Supported Installation Methods
-------------------------------
rides on top of ``setuptools`` or ``distribute``, replacing the usage
of ``easy_install``. It is often preferred for its simpler mode of usage.
-.. note::
-
- It is strongly recommended that either ``setuptools`` or ``distribute`` be installed.
- Python's built-in ``distutils`` lacks many widely used installation features.
-
Install via easy_install or pip
-------------------------------
Installing a Database API
----------------------------------
-SQLAlchemy is designed to operate with a `DB-API
-<http://www.python.org/doc/peps/pep-0249/>`_ implementation built for a
-particular database, and includes support for the most popular databases. The
-current list is at :ref:`supported_dbapis`.
+SQLAlchemy is designed to operate with a :term:`DBAPI` implementation built for a
+particular database, and includes support for the most popular databases.
+The individual database sections in :doc:`/dialects/index` enumerate
+the available DBAPIs for each database, including external links.
Checking the Installed SQLAlchemy Version
------------------------------------------
def after_transaction_create(self, session, transaction):
"""Execute when a new :class:`.SessionTransaction` is created.
- :param session: the target :class:.`Session`.
+ :param session: the target :class:`.Session`.
:param transaction: the target :class:`.SessionTransaction`.
.. versionadded:: 0.8
def after_transaction_end(self, session, transaction):
"""Execute when the span of a :class:`.SessionTransaction` ends.
- :param session: the target :class:.`Session`.
+ :param session: the target :class:`.Session`.
:param transaction: the target :class:`.SessionTransaction`.
.. versionadded:: 0.8