PageRenderTime 40ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/README.rst

https://bitbucket.org/excieve/pyhs/
ReStructuredText | 86 lines | 62 code | 24 blank | 0 comment | 0 complexity | 1de7202ba57a5b22e8116241c6dacd68 MD5 | raw file
Possible License(s): MIT
  1. ====
  2. pyhs
  3. ====
  4. Overview
  5. --------
  6. pyhs (python-handler-socket) is a Python client library for the
  7. `HandlerSocket <https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/>`_
  8. MySQL plugin.
  9. Installation
  10. ------------
  11. First, install MySQL and HandlerSocket. Some of the client's functionality
  12. depends on latest revisions of the plugin so keep it up to date.
  13. After that, get the distribution::
  14. pip install python-handler-socket
  15. Or get the package from latest source::
  16. pip install hg+http://bitbucket.org/excieve/pyhs#egg=python-handler-socket
  17. Or clone the main repository and install manually::
  18. hg clone http://bitbucket.org/excieve/pyhs
  19. cd pyhs
  20. python setup.py install
  21. Check your installation like this::
  22. python
  23. >>> from pyhs import __version__
  24. >>> print __version__
  25. Usage
  26. -----
  27. Usage cases, details and API reference are available
  28. in ``docs`` directory inside the package or
  29. `online <http://python-handler-socket.readthedocs.org/>`_ on RTD.
  30. Changelog
  31. ---------
  32. 0.2.4
  33. ~~~~~
  34. - Fixed infinite loop caused by remotely closed connection.
  35. - Fixed incorrect Unicode chars escaping/unescaping in C speedups.
  36. - Fixed indexes and caches might not be cleaned on connection errors.
  37. - Somewhat refactored error recovery code.
  38. 0.2.3
  39. ~~~~~
  40. - Fixed single result single-column responses. Fixes issue #1 for real now, I hope.
  41. 0.2.2
  42. ~~~~~
  43. - Fixed incorrect behavior with single columns responses.
  44. - 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.
  45. 0.2.1
  46. ~~~~~
  47. - Implemented optimised C versions of ``encode`` and ``decode``.
  48. - Modified installation script to include optional building of C speedups module.
  49. 0.2.0
  50. ~~~~~
  51. - Added "incr" and "decr" operations support to the ``find_modify`` call.
  52. - Added increment and decrement methods to the ``Manager`` class.
  53. - Added original value result for all ``find_modify`` operations.
  54. - Optimised query string encoding function.
  55. 0.1.0
  56. ~~~~~
  57. - Initial release.
  58. License
  59. -------
  60. | pyhs is released under MIT license.
  61. | Copyright (c) 2010 Artem Gluvchynsky <excieve@gmail.com>
  62. See ``LICENSE`` file inside the package for full licensing information.