Skip to content
/ cursors Public

Cursors consume SQL and produce sequences of named tuples.

License

Notifications You must be signed in to change notification settings

akrito/cursors

Repository files navigation

Cursors

I like SQL. I want to give the computer SQL and get back a list of objects. This does that, mostly.

Is it safe? Build Status

Example

Cursors are sequences of named tuples. Here's how you get one:

from cursors import connect
connection  = connect('bang')
cursor = connection('SELECT * FROM business_business ORDER BY id')

Since these connections and cursors are subclasses of actual connections and cursors, you get all those other methods for free.

About

Cursors consume SQL and produce sequences of named tuples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published