Skip to main content

HandlerSocket client for Python

Project description

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.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

pyhs is released under MIT license.
Copyright (c) 2010 Artem Gluvchynsky <excieve@gmail.com>

See LICENSE file inside the package for full licensing information.

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

python-handler-socket-0.2.0.tar.gz (19.0 kB view details)

Uploaded Source

File details

Details for the file python-handler-socket-0.2.0.tar.gz.

File metadata

File hashes

Hashes for python-handler-socket-0.2.0.tar.gz
Algorithm Hash digest
SHA256 42a9618287153f63fe4f9625784f09c36b0008a3c568274a587f6f11dde7632b
MD5 38f42df49214cb5784f75d750aef23d9
BLAKE2b-256 316adf056ede90ef196a909d296b7edfad18a55166f30d332375f0486924c2ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page