{ "info": { "author": "Ryan Latture", "author_email": "ryan.latture@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "json2table\n==========\n\n|Build Status| |Coverage Status|\n\n.. |Build Status| image:: https://travis-ci.org/latture/json2table.svg?branch=master\n :target: https://travis-ci.org/latture/json2table\n.. |Coverage Status| image:: https://coveralls.io/repos/github/latture/json2table/badge.svg?branch=master\n :target: https://coveralls.io/github/latture/json2table?branch=master\n\nThis is a simple Python package that allows a JSON object to be converted to HTML. It provides a ``convert`` function that accepts a ``dict`` instance and returns a string of converted HTML. For example, the simple JSON object ``{\"key\" : \"value\"}`` can be converted to HTML via:\n\n.. code:: python\n\n >>> from json2table import convert\n >>> json_object = {\"key\" : \"value\"}\n >>> build_direction = \"LEFT_TO_RIGHT\"\n >>> table_attributes = {\"style\" : \"width:100%\"}\n >>> html = convert(json_object, build_direction=build_direction, table_attributes=table_attributes)\n >>> print(html)\n '
| key | value |
|---|