Skip to main content

SQLAlchemy done Asynchronously: Twisted-friendly access to an SQL database.

Project description

An enhancement to the SQLAlchemy package that provides asynchronous, deferred-result access via the Twisted framework and an access broker that conveniently manages database access, table setup, and transactions. Included are modules for implementing persistent dictionaries and three-dimensional arrays.

sAsync lets you use the use the database transaction core of the SQLAlchemy Python SQL toolkit in an asynchronous fashion. In addition to an access broker for conveniently managing database access, table setup, and transactions under the Twisted framework, it provides persistent item-value stores and arrays.

The sAsync package uses a threaded task queue from the AsynQueue package to wrap your SQLAlchemy database access code inside asynchronous transactions. At the lowest level, it provides a @transact decorator for your database-access methods that makes them immediately return a Twisted Deferred object.

Python 3 compatiblity is in the works, but not yet supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sAsync-0.9.3.tar.gz (34.7 kB view hashes)

Uploaded Source

Built Distribution

sAsync-0.9.3-py2-none-any.whl (41.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page