معرفی شرکت ها


cpghstore-0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Fast postgres hstore parser.
ویژگی مقدار
سیستم عامل -
نام فایل cpghstore-0.1
نام cpghstore
نسخه کتابخانه 0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Robert Kajic
ایمیل نویسنده robert@{nospam}kajic.com
آدرس صفحه اصلی https://github.com/kajic/cpghstore
آدرس اینترنتی https://pypi.org/project/cpghstore/
مجوز MIT
========= cpghstore ========= :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) About ===== cpghstore is written in C and is meant to be a faster alternative to `pghstore <http://pypi.python.org/pypi/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). Installation ============ Run ``pip install cpghstore`` or download the source from `GitHub <http://github.com/kajic/cpghstore>`_ and run ``python setup.py install``. Usage ===== 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"' Tests ===== To run the test suite, run ``python setup.py test``. Benchmark ========= Run ``python setup.py test -s benchmark`` to see how it performs (requires pghstore to be installed if you want comparisons to be shown). Limitations =========== 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.


نحوه نصب


نصب پکیج whl cpghstore-0.1:

    pip install cpghstore-0.1.whl


نصب پکیج tar.gz cpghstore-0.1:

    pip install cpghstore-0.1.tar.gz