PostgreSQL hstore formatter
Project description
This small module implements a formatter and a loader for hstore, one of PostgreSQL supplied modules, that stores simple key-value pairs.
>>> dumps({u'a': u'1'}) '"a"=>"1"' >>> loads('"a"=>"1"') {u'a': u'1'} >>> src = [('pgsql', 'mysql'), ('python', 'php'), ('gevent', 'nodejs')] >>> loads(dumps(src), return_type=list) [(u'pgsql', u'mysql'), (u'python', u'php'), (u'gevent', u'nodejs')]
You can easily install the package from PyPI by using pip or easy_install:
$ pip install pghstore
Visit the website to read its documentation:
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
pghstore-0.9.0.tar.gz
(5.1 kB
view hashes)