This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Create dict from MySQL query result text.

Project Description
=====================
mysqlqueryresult2dict
=====================


Description
===========

Create dict from MySQL query result text.
python port of https://github.com/koyachi/ruby-hash-from_mysql_query_result .

Example
=======

.. code:: python
import mysqlqueryresult2dict

DATA = '''mysql> SELECT * FROM foo;
+----+-------+
| id | value |
+----+-------+
| 1 | A |
| 2 | b |
| 3 | C |
+----+-------+
3 rows in set (0.01 sec)


dict = mysqlqueryresult2dict.parse_text(DATA)
print dict

Author
======

koyachi, rtk2106@gmail.com

License
=======

mysqlquery2dict is avairable under the MIT license. See the LICENSE file for more info.
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mysqlqueryresult2dict-0.0.1.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Apr 23, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting