Overview
pyhs (python-handler-socket) is a Python client library for the HandlerSocket MySQL plugin.
Installation
First, install MySQL and HandlerSocket. Some of the client’s functionality depends on latest revisions of the plugin so keep it up to date.
After that, get the distribution:
pip install python-handler-socket
Or get the package from latest source:
pip install hg+http://bitbucket.org/excieve/pyhs#egg=python-handler-socket
Or clone the main repository and install manually:
hg clone http://bitbucket.org/excieve/pyhs cd pyhs python setup.py install
Check your installation like this:
python >>> from pyhs import __version__ >>> print __version__
Usage
Usage cases, details and API reference are available in docs directory inside the package or online on RTD.
Changelog
0.2.4
Fixed infinite loop caused by remotely closed connection.
Fixed incorrect Unicode chars escaping/unescaping in C speedups.
Fixed indexes and caches might not be cleaned on connection errors.
Somewhat refactored error recovery code.
0.2.3
Fixed single result single-column responses. Fixes issue #1 for real now, I hope.
0.2.2
Fixed incorrect behavior with single columns responses.
Changed return value of find_modify calls with return_original=True to a list of rows of (field, value) tuples instead of a flat list of values.
0.2.1
Implemented optimised C versions of encode and decode.
Modified installation script to include optional building of C speedups module.
0.2.0
Added “incr” and “decr” operations support to the find_modify call.
Added increment and decrement methods to the Manager class.
Added original value result for all find_modify operations.
Optimised query string encoding function.
0.1.0
Initial release.
License
See LICENSE file inside the package for full licensing information.
Metadata
Release files for python-handler-socket 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python-handler-socket-0.2.4.tar.gz | 21.9 kB | Without provenance | Details |
Release files / python-handler-socket-0.2.4.tar.gz
| Download URL | python-handler-socket-0.2.4.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78b1d520fb6e22bd30187f85e83f15a603d142fe7e4c7cafe657a4ebe6078168
|
|
BLAKE2b-256 checksum How to use checksums |
0d83d0c71d3bb8cb841fa1af0f7d1c8ccfa1300b1a74d07ac47cf9a2c3d499f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-handler-socket 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.