{ "info": { "author": "Juergen Jakobitsch", "author_email": "office@turnguard.com", "bugtrack_url": null, "classifiers": [], "description": "===========\nWikiUtils\n===========\n\nWikiUtils provide some utility classes to handle wiki pages.\n\nUsage (retrieving a wiki page by title):\n\n #!/usr/bin/env python\n from python.turnguard.com.wikiutils import WikiUtils\n \n wu = WikiUtils()\n try:\n page = wu.getWikiPage(wikititle=\"Python_(programming_language)\")\n for l in page.getLinks():\n print l\n except urllib2.HTTPError, e:\n if e.code == 404:\n print \"WikiPage not found\"\n \nUsage (retrieving a wiki page by url):\n\n #!/usr/bin/env python\n from python.turnguard.com.wikiutils import WikiUtils\n\n wu = WikiUtils()\n try:\n page = wu.getWikiPage(wikiurl=\"http://en.wikipedia.org/wiki/Python_(programming_language)\")\n for l in page.getLinks():\n print l\n except urllib2.HTTPError, e:\n if e.code == 404:\n print \"WikiPage not found\"\n\n\nCaching\n=========\n\nWikiUtils will use .cache directory in the user's home\nto create a cache of downloaded pages and retrieve \nthe contents from the cache by default.\nThe full path of the WikiUtils cache is determined by\npath = expanduser('~')+\"/.cache/python/turnguard/com/wikiutils/\"\n\nIf you do not want to use the caching system use\ngetWikiPage(caching=False,...)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://python.turnguard.com", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "WikiUtils", "package_url": "https://pypi.org/project/WikiUtils/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/WikiUtils/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://python.turnguard.com" }, "release_url": "https://pypi.org/project/WikiUtils/1.0.0-rc1/", "requires_dist": null, "requires_python": null, "summary": "WikiUtils", "version": "1.0.0-rc1" }, "last_serial": 885058, "releases": { "1.0.0-rc1": [ { "comment_text": "", "digests": { "md5": "e6060d42edd6090d6f6916e83d17f906", "sha256": "9eb52d43d81af8d12c50c577da0c529599569a94de4f102f054447020e443d69" }, "downloads": -1, "filename": "WikiUtils-1.0.0-rc1.tar.gz", "has_sig": false, "md5_digest": "e6060d42edd6090d6f6916e83d17f906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2344, "upload_time": "2013-10-09T12:58:41", "url": "https://files.pythonhosted.org/packages/86/c5/e6d1f69031e9361663d9eaf6856c9aa408e5f23caf92efda417bbfaa9047/WikiUtils-1.0.0-rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6060d42edd6090d6f6916e83d17f906", "sha256": "9eb52d43d81af8d12c50c577da0c529599569a94de4f102f054447020e443d69" }, "downloads": -1, "filename": "WikiUtils-1.0.0-rc1.tar.gz", "has_sig": false, "md5_digest": "e6060d42edd6090d6f6916e83d17f906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2344, "upload_time": "2013-10-09T12:58:41", "url": "https://files.pythonhosted.org/packages/86/c5/e6d1f69031e9361663d9eaf6856c9aa408e5f23caf92efda417bbfaa9047/WikiUtils-1.0.0-rc1.tar.gz" } ] }