Your Linux Data Center Experts

I've pushed up my Python Psycopg2 database wrapper to github after making some changes over lunch. I added “insert” and “dictinsert” methods that will automatically do insert statements based in either keyword arguments, or a dictionary of values passed. For example:

insert('users', name = 'Sean', password = 'secret')
dictinsert('users', { 'name' : 'Sean', 'password' : 'secret' })

If you're interested, grab it at Git Hub's python-psycopgwrap page.

comments powered by Disqus

Join our other satisfied clients. Contact us today.