{ "info": { "author": "Chris Spencer", "author_email": "chrisspen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============================================================================\nWPTableFinder - Finds and extracts tables from Wikipedia\n=============================================================================\n\nOverview\n--------\n\nFinds tables in the raw HTML of a Wikipedia page and converts them\nto a clean list-of-dictionaries, suitable for easy processing in Python.\n\nNote, this is a convenience tool to help one-off processing of specific\nWikipedia pages, where downloading an entire Wikipedia snapshot would be\nimpractical. It's inefficient and will not scale well for bulk use.\nIf you need to do bulk processing of a large number of pages in Wikipedia, please download\nand process a `Wikipedia snapshot `_\n.\n\nInstallation\n------------\n\nInstall using pip via:\n\n::\n\n sudo pip install wptablefinder\n \nUsage\n-----\n\n >>> from wptablefinder import Table\n >>> table = Table.from_url('https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population')[0]\n >>> print table.headers\n [u'Rank', u'Country (or dependent territory)', u'Population', u'Date', u'% of world population', u'Source']\n >>> for row in table:\n ... print row\n {u'% of world population': u'18.9%', u'Rank': u'1', u'Source': u'Official population clock', u'Country (or dependent territory)': u'China [ Note 2 ]', u'Date': datetime.datetime(2015, 8, 15, 0, 0), u'Population': u'1,371,520,000'}\n ...\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chrisspen/wptablefinder", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "wptablefinder", "package_url": "https://pypi.org/project/wptablefinder/", "platform": "OS Independent", "project_url": "https://pypi.org/project/wptablefinder/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/chrisspen/wptablefinder" }, "release_url": "https://pypi.org/project/wptablefinder/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Finds and extracts tables from Wikipedia.", "version": "0.0.3" }, "last_serial": 2740114, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ea627f766e38019a5c044925215ec42f", "sha256": "9f352616867701543a15dd765913fd4aa9b537cd73e3ae25a2f011401d71c1bb" }, "downloads": -1, "filename": "wptablefinder-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ea627f766e38019a5c044925215ec42f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4484, "upload_time": "2015-08-16T00:02:06", "url": "https://files.pythonhosted.org/packages/63/4a/7ea1fb078c8ff69570d356e8842e178a859029d3eedb416e2da41527151e/wptablefinder-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "541416483e9bb3d3ec1af0cb4b43de5a", "sha256": "e1d64517d60884ca5f75eb62bcecd9e765793bd1ac39811d4e47e19ca4234414" }, "downloads": -1, "filename": "wptablefinder-0.0.2.tar.gz", "has_sig": false, "md5_digest": "541416483e9bb3d3ec1af0cb4b43de5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5023, "upload_time": "2016-01-24T02:17:49", "url": "https://files.pythonhosted.org/packages/2c/9b/d03edcc1b5ba511a17bebcf965302a04cb0bd3cc1d611793e178b75f043f/wptablefinder-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e1ef93c1699a0fbae26cf821ce673838", "sha256": "724e8995b13ac090432b56240bb162b1d1dc4d0719e29c3d49be46df23031b99" }, "downloads": -1, "filename": "wptablefinder-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e1ef93c1699a0fbae26cf821ce673838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5062, "upload_time": "2017-03-30T00:41:02", "url": "https://files.pythonhosted.org/packages/89/88/b9cd86e6b74c9ce5aa1cd508a3c83320c92cadc2781e666cda99ddbf3c53/wptablefinder-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1ef93c1699a0fbae26cf821ce673838", "sha256": "724e8995b13ac090432b56240bb162b1d1dc4d0719e29c3d49be46df23031b99" }, "downloads": -1, "filename": "wptablefinder-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e1ef93c1699a0fbae26cf821ce673838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5062, "upload_time": "2017-03-30T00:41:02", "url": "https://files.pythonhosted.org/packages/89/88/b9cd86e6b74c9ce5aa1cd508a3c83320c92cadc2781e666cda99ddbf3c53/wptablefinder-0.0.3.tar.gz" } ] }