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.

Files for sAsync, version 0.9.3
Filename, size File type Python version Upload date Hashes
Filename, size sAsync-0.9.3-py2-none-any.whl (41.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size sAsync-0.9.3.tar.gz (34.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page