1 project tagged "psycopg2"

Download Website Updated 11 Oct 2012 psycogreen

Screenshot
Pop 21.54
Vit 24.42

The psycogreen package makes it possible for psycopg2 to work with coroutine libraries, using asynchronous calls internally but offering a blocking interface so that regular code can run unmodified. While Psycopg offers coroutine support, the main module is a C extension that cannot be monkey-patched to become coroutine-friendly. Instead it exposes a hook that coroutine libraries can use to install a function integrating with their event scheduler. Psycopg will call the function whenever it executes a libpq call that may block. psycogreen is a collection of "wait callbacks" that can be used to integrate Psycopg with different coroutine libraries. psycogreen is currently mainly useful for integration with gevent.

Screenshot

Project Spotlight

Aspose.Pdf for .NET

A .NET component to create PDF documents without using Adobe Acrobat.

Screenshot

Project Spotlight

WSN Guest

A PHP/MySQL guestbook script.