Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Ruby Pg | 713 | 281,709 | 2,192 | 8 days ago | 84 | June 24, 2022 | 14 | other | C | |
A PostgreSQL client library for Ruby | ||||||||||
Pgproto3 | 120 | 2,122 | a year ago | 27 | September 17, 2022 | 2 | mit | Go | ||
Decoderbufs | 113 | 5 years ago | 2 | mit | C | |||||
INACTIVE: A PostgreSQL logical decoder output plugin to deliver data as Protocol Buffers | ||||||||||
Pgwire | 56 | 4 months ago | 11 | March 28, 2021 | 8 | mit | JavaScript | |||
PostgreSQL client library for Deno and Node.js that exposes all features of wire protocol. | ||||||||||
Decoder_json | 26 | 7 years ago | unlicense | C | ||||||
PostgreSQL logical decoder to JSON | ||||||||||
Hstore Extension | 16 | 8 months ago | 4 | July 24, 2019 | 1 | mit | PHP | |||
The encoder/decoder and set of the doctrine functions for the postgresql type `hstore` | ||||||||||
Cpghstore | 5 | 8 years ago | 1 | April 03, 2012 | 2 | Python | ||||
cpghstore is a fast decoder/encoder of the PostgreSQL hstore data type. | ||||||||||
Parselogical | 3 | 6 years ago | Go | |||||||
Parse the output of Postgres' logical test_decoder. | ||||||||||
Pg_replicatelogical | 3 | 6 years ago | Go | |||||||
Replicate DBs using Postgres' built-in test_decoder logical replication plugin. | ||||||||||
Baan Utf T Decoder | 2 | 3 years ago | lgpl-3.0 | C | ||||||
Decoding UTF-T texts in PostgreSQL |
Info: | cpghstore is a fast decoder/encoder of the PostgreSQL hstore data type (http://www.postgresql.org/docs/9.0/static/hstore.html). |
---|---|
Author: | Robert Kajic (http://github.com/kajic) |
cpghstore is written in C and is meant to be a faster alternative to
pghstore. Run python setup.py
test -s benchmark
to see how it performs (requires pghstore to be installed if
you want comparisons to be shown).
Run pip install cpghstore
or download the
source from GitHub and run python
setup.py install
.
Decode and encode hstore string:
>>> import cpghstore >>> # decode >>> d = cpghstore.loads('"name"=>"Norge/Noreg"') >>> d {'name': 'Norge/Noreg'} >>> # encode >>> s = cpghstore.dumps(d) >>> s '"name"=>"Norge/Noreg"'
To run the test suite, run python setup.py test
.
Run python setup.py test -s benchmark
to see how it performs (requires
pghstore to be installed if you want comparisons to be shown).
Supports only str strings (i.e. not unicode strings). Can only decode (loads) string values, i.e. "key"=>"123" is supported while "key"=>123 is not.