{
"info": {
"author": "Daniel Bradburn",
"author_email": "moagstar@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": ".. image:: https://travis-ci.org/moagstar/table2dicts.svg?branch=master\n :target: https://travis-ci.org/moagstar/table2dicts\n\ntable2dicts\n=========== \nPython module for converting a html table to a list of dictionaries.\n\nInstallation\n------------\nInstalling from PyPI using ``pip``:\n \n.. code-block:: bash\n\n $ pip install table2dicts\n\nInstalling from source:\n \n.. code-block:: bash\n\n $ python setup.py install\n \nUsage\n-----\n\nGive it some html with a :code:`table`:\n\n >>> table2dicts('''\n ...
\n ... \n ... | a | b | c |
\n ... \n ... \n ... | 1 | 2 | 3 |
\n ... | 4 | 5 | 6 |
\n ... \n ...
\n ... ''')\n [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]\n \nNo :code:`thead` or :code:`tbody`, no problem:\n\n >>> table2dicts('''\n ... \n ... | a | b | c |
\n ... | 1 | 2 | 3 |
\n ... | 4 | 5 | 6 |
\n ...
\n ... ''')\n [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]\n\nWhen no :code:`th` is present, the first row of :code:`td` elements is used as a header:\n\n >>> table2dicts('''\n ... \n ... | a | b | c |
\n ... | 1 | 2 | 3 |
\n ... | 4 | 5 | 6 |
\n ...
\n ... ''')\n [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]",
"description_content_type": null,
"docs_url": null,
"download_url": "https://github.com/moagstar/table2dicts/tarball/0.2",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/moagstar/table2dicts/",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "table2dicts",
"package_url": "https://pypi.org/project/table2dicts/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/table2dicts/",
"project_urls": {
"Download": "https://github.com/moagstar/table2dicts/tarball/0.2",
"Homepage": "http://github.com/moagstar/table2dicts/"
},
"release_url": "https://pypi.org/project/table2dicts/0.2/",
"requires_dist": null,
"requires_python": null,
"summary": "Python module for converting a html table to a list of dictionaries.",
"version": "0.2"
},
"last_serial": 1649464,
"releases": {
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "edb031206649f15010527634e85700f4",
"sha256": "e23c96d403e0b645dd7519704728febba231b1ed7249100fbe5cd73684059a75"
},
"downloads": -1,
"filename": "table2dicts-0.2.tar.gz",
"has_sig": false,
"md5_digest": "edb031206649f15010527634e85700f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2410,
"upload_time": "2015-07-25T19:29:16",
"url": "https://files.pythonhosted.org/packages/7f/1b/3a7af2445c7d8cd153768afd16c4866834d030b357eae6198a34b8d43dc1/table2dicts-0.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "edb031206649f15010527634e85700f4",
"sha256": "e23c96d403e0b645dd7519704728febba231b1ed7249100fbe5cd73684059a75"
},
"downloads": -1,
"filename": "table2dicts-0.2.tar.gz",
"has_sig": false,
"md5_digest": "edb031206649f15010527634e85700f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2410,
"upload_time": "2015-07-25T19:29:16",
"url": "https://files.pythonhosted.org/packages/7f/1b/3a7af2445c7d8cd153768afd16c4866834d030b357eae6198a34b8d43dc1/table2dicts-0.2.tar.gz"
}
]
}