{ "info": { "author": "Ben Rosser", "author_email": "rosser.bjr@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries" ], "description": "xkcd v2.4.2 |Build Status|\n==========================\n\nA Python interface to xkcd.com\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBy Ben Rosser, released under MIT License (see LICENSE for full text).\n\nThis is a Python library for accessing and retrieving links to comics\nfrom the xkcd webcomic by Randall Munroe. It is NOT endorsed or made by\nhim, it's an entirely independent project.\n\nIt makes use of the JSON interface to Randall's site to retrieve comic\ndata. Both Python 2 and Python 3 are supported, and there are no\ndependencies beyond the Python standard library, so xkcd's footprint\nshould be very light.\n\nThere is support for accessing specific comics, the latest comic, or a\nrandom comic. Comic metadata can be queried and the comics themselves\ncan be downloaded onto your local system. The goal is simply to provide\na relatively Pythonic wrapper around the xkcd API for any Python program\nor library that wants to access information about xkcd comics, for one\nreason or another.\n\nThe xkcd module, as of version 2.4.0, also supports getting information\non What If articles from whatif.xkcd.com. This information is generated\nby scraping the What If archive page with a HTML parser.\n\nFull API documentation is available\n`here `__.\n\nChangelog:\n----------\n\nVersion 2.4.2:\n~~~~~~~~~~~~~~\n\n- Switched to using HTTPS URLs for all xkcd queries.\n\nVersion 2.4.1:\n~~~~~~~~~~~~~~\n\n- Routines that take comic/article numbers (e.g. xkcd.getComic()) now\n also can take strings containing cardinal numbers.\n\nVersion 2.4.0:\n~~~~~~~~~~~~~~\n\n- Added preliminary What If support; routines for querying basic data\n about What If articles now exist.\n- Comic.download() will create its default directory (~/Downloads) if\n it does not already exist, rather than simply failing.\n- All prints to standard output are now wrapped in \"silent\" options\n that now default to True (this affects xkcd.getComic and\n Comic.download); if silent is set, output won't be printed.\n- Significantly improved documentation for all available functions and\n classes.\n\nVersion 2.3.3:\n~~~~~~~~~~~~~~\n\n- Made pypandoc conversion optional; long\\_description will be MD\n formatted if it cannot be imported (and rST-formatted if it can).\n\nVersion 2.3.2:\n~~~~~~~~~~~~~~\n\n- Fixed distutils URL to point at TC01/python-xkcd, not TC01/xkcd.\n- Started using pypandoc to dynamically turn README.md into a RST\n long-description.\n\nVersion 2.3:\n~~~~~~~~~~~~\n\n- Fixed ASCII bug in Python 2.x\n- Created Sphinx documentation and uploaded it to pythonhosted.org\n\nVersion 2.2:\n~~~~~~~~~~~~\n\n- Fixed very silly bug with xkcd.getComic()\n- Added a getExplanation() which returns an explainxkcd link for a\n Comic().\n- Added support for Python 3!\n\nVersion 2.1:\n~~~~~~~~~~~~\n\n- Fixed bugs with Comic.download() function\n- Added optional parameter to Comic.download() to change name of output\n file\n- Added more information to long\\_description text\n\nCredits:\n--------\n\n- Ben Rosser rosser.bjr@gmail.com: Developer\n\nContributions from (github users, unless indicated otherwise):\n\n- @Kyu\n- Tanya Sandoval (@tsando)\n\n.. |Build Status| image:: https://travis-ci.org/TC01/python-xkcd.svg?branch=master\n :target: https://travis-ci.org/TC01/python-xkcd", "description_content_type": null, "docs_url": "https://pythonhosted.org/xkcd/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TC01/python-xkcd", "keywords": "xkcd webcomic whatif", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xkcd", "package_url": "https://pypi.org/project/xkcd/", "platform": "", "project_url": "https://pypi.org/project/xkcd/", "project_urls": { "Homepage": "https://github.com/TC01/python-xkcd" }, "release_url": "https://pypi.org/project/xkcd/2.4.2/", "requires_dist": null, "requires_python": "", "summary": "Library to access xkcd.com", "version": "2.4.2" }, "last_serial": 2731219, "releases": { "2.0": [ { "comment_text": "", "digests": { "md5": "4f355b7de9e8870dd4145eed4694dcdc", "sha256": "b70f51d98ceaef8ef51b4bd1a838fea84c6bab970a54f759a8fad66be40ff036" }, "downloads": -1, "filename": "xkcd-2.0.tar.gz", "has_sig": false, "md5_digest": "4f355b7de9e8870dd4145eed4694dcdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2878, "upload_time": "2012-10-11T03:59:29", "url": "https://files.pythonhosted.org/packages/c2/ea/51b97b7155d2176ed82dc7995a8429add0ea322bec5a99ba8c69a5194230/xkcd-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "a6008c4d9febea96bc63be71599eff0e", "sha256": "bebb8bcc2476349ae7001c329eff9d330342abcfd9d72406c4a2b0454082b731" }, "downloads": -1, "filename": "xkcd-2.1.tar.gz", "has_sig": false, "md5_digest": "a6008c4d9febea96bc63be71599eff0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3120, "upload_time": "2012-10-18T00:54:39", "url": "https://files.pythonhosted.org/packages/b0/78/00fd7c1daf01f98607d39962860b665dfd88b21677f789bb6b882bd3466e/xkcd-2.1.tar.gz" } ], "2.2": [ { "comment_text": "", "digests": { "md5": "c9e3e2d2d4c40392cb34969e4f8ea636", "sha256": "8de1f35bfa13b5f201a29c49b8b100eefd7a90a60388b09a564079545cd5834e" }, "downloads": -1, "filename": "xkcd-2.2.tar.gz", "has_sig": false, "md5_digest": "c9e3e2d2d4c40392cb34969e4f8ea636", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2738, "upload_time": "2014-04-22T04:27:54", "url": "https://files.pythonhosted.org/packages/05/fb/47e8894a67c293785619eb6e4cb957dd37f021da372148d2eabb9a30afd3/xkcd-2.2.tar.gz" } ], "2.3": [ { "comment_text": "", "digests": { "md5": "f70ff568e8c27cbf94446bfdc81debeb", "sha256": "7449ad5aadbcba9beb875cb78e1b476e0be0c2006f9daedbfdaee645b19473f5" }, "downloads": -1, "filename": "xkcd-2.3.tar.gz", "has_sig": false, "md5_digest": "f70ff568e8c27cbf94446bfdc81debeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4515, "upload_time": "2014-08-17T01:20:42", "url": "https://files.pythonhosted.org/packages/14/0c/8d1aa2476a426f612088957854b2f396eefa45374037faab601ce6f77493/xkcd-2.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "a866b953747f0e2ec9feab73d5a07856", "sha256": "bafbb7f37064e5fcf74e2a6f6a8021f9f6e144c52165bb0d31c999fc7f5b01ba" }, "downloads": -1, "filename": "xkcd-2.3.zip", "has_sig": false, "md5_digest": "a866b953747f0e2ec9feab73d5a07856", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6732, "upload_time": "2014-08-17T01:20:44", "url": "https://files.pythonhosted.org/packages/63/62/db30d875d89b389961dd1200b6f3c9cbd89ea086c41d608a2b095169469d/xkcd-2.3.zip" } ], "2.3.1": [ { "comment_text": "", "digests": { "md5": "d95ad61f2ccdaec815452ce9a6b68823", "sha256": "732a5e67f9e2c26ee50984faa5d246cabbba0535cdba2955ec5165d84d25dda1" }, "downloads": -1, "filename": "xkcd-2.3.1.tar.gz", "has_sig": false, "md5_digest": "d95ad61f2ccdaec815452ce9a6b68823", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5365, "upload_time": "2014-08-17T01:26:24", "url": "https://files.pythonhosted.org/packages/30/5d/5d0882fb2b782921165f637b6e59f56d2ee3741049253caf002a69b4c689/xkcd-2.3.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "f2de2d04971ff68238982ec85ec07e0a", "sha256": "984397dddf54d558026cbe2c83fb725347aa61caba9ee5de4f3d486c54666a7e" }, "downloads": -1, "filename": "xkcd-2.3.1.zip", "has_sig": false, "md5_digest": "f2de2d04971ff68238982ec85ec07e0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8672, "upload_time": "2014-08-17T01:26:27", "url": "https://files.pythonhosted.org/packages/ab/fa/4528ba7725093af80f16162df134fb7d0a409516d0f7fb948440ed82c533/xkcd-2.3.1.zip" } ], "2.3.2": [ { "comment_text": "", "digests": { "md5": "9ef3764159db6e845768d14c6a511507", "sha256": "f62b4bccad03df124883535743213a8f677b2de6177755b64aef626c5fd8320a" }, "downloads": -1, "filename": "xkcd-2.3.2.tar.gz", "has_sig": false, "md5_digest": "9ef3764159db6e845768d14c6a511507", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5636, "upload_time": "2016-05-08T16:07:39", "url": "https://files.pythonhosted.org/packages/b0/26/977b537003e8ce32d743278697bac03493b367bdfef08d12cb72c4bef41e/xkcd-2.3.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "41fc79c8d3760201625185c4dd5de73d", "sha256": "e75f65f31df5476694fe69e1a89e040b13753890b59da32c98b0964ae560e1ed" }, "downloads": -1, "filename": "xkcd-2.3.2.zip", "has_sig": false, "md5_digest": "41fc79c8d3760201625185c4dd5de73d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9045, "upload_time": "2016-05-08T16:08:29", "url": "https://files.pythonhosted.org/packages/e5/cf/488a05334703c5f2d15715ccf23d156a5804b3cc00ac7050a2e3b6f00243/xkcd-2.3.2.zip" } ], "2.3.3": [ { "comment_text": "", "digests": { "md5": "7c5e088c97e13a23fc71eb4687650355", "sha256": "33ede04b89f20167dd3614d8811e98b8b77e2d86f2940f91fdaa48b2cb4bc56a" }, "downloads": -1, "filename": "xkcd-2.3.3.tar.gz", "has_sig": false, "md5_digest": "7c5e088c97e13a23fc71eb4687650355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5678, "upload_time": "2016-06-05T20:20:32", "url": "https://files.pythonhosted.org/packages/36/f9/7399e649b1fb60060e50953f4fff43d136ec57a5c5f6244d69a56481c0d8/xkcd-2.3.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "dda46e2410a993169f65c16472578332", "sha256": "a183781cb9114d0466edc39bb061137746b6b29d16648f9090925abb3750d5a4" }, "downloads": -1, "filename": "xkcd-2.3.3.zip", "has_sig": false, "md5_digest": "dda46e2410a993169f65c16472578332", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9125, "upload_time": "2016-06-05T20:20:36", "url": "https://files.pythonhosted.org/packages/85/32/50fe69865cccfabeafd991a2b1b7559fd0ff4bcb180ca9e356411dc92230/xkcd-2.3.3.zip" } ], "2.4.0": [ { "comment_text": "", "digests": { "md5": "2997b7a957f3418b069d9fd4590effef", "sha256": "7f811823cdbf7e5a0a44439055942c6b5b723bd8fa8e3ed4c127ede6b65f2d47" }, "downloads": -1, "filename": "xkcd-2.4.0.tar.gz", "has_sig": false, "md5_digest": "2997b7a957f3418b069d9fd4590effef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10338, "upload_time": "2016-06-09T02:23:17", "url": "https://files.pythonhosted.org/packages/ae/9a/1eaf6839490c06df7dfd00144024615bb41c91b607a5616cdf3851a3de3e/xkcd-2.4.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "42c8755d06f67dd99c3a8c81c2df57de", "sha256": "e971747448ca26db7928d31717bf56c9051df24c46a23736cdb5f6959969352f" }, "downloads": -1, "filename": "xkcd-2.4.0.zip", "has_sig": false, "md5_digest": "42c8755d06f67dd99c3a8c81c2df57de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14439, "upload_time": "2016-06-09T02:23:21", "url": "https://files.pythonhosted.org/packages/00/1a/83c64f89564661faa040deb084e4f4b71b7e090a213fbf4b9df8631e8b3d/xkcd-2.4.0.zip" } ], "2.4.1": [ { "comment_text": "", "digests": { "md5": "87ae128823628b4528d006bff2ed8f59", "sha256": "2f45fedf925c9cfc0c9d7d319cc17b4152ffb24a8a2a02f06a8094eee024fc69" }, "downloads": -1, "filename": "xkcd-2.4.1.tar.gz", "has_sig": false, "md5_digest": "87ae128823628b4528d006bff2ed8f59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9805, "upload_time": "2016-12-07T01:33:56", "url": "https://files.pythonhosted.org/packages/6a/76/5083f06c715804ab8fad77a7613479d3b613c8819fe1ff9a14dad25caabb/xkcd-2.4.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "4c2efe9e141a4c19e6dcf36fe993c9fa", "sha256": "d2c03aff00f3517570b1a77e089ac9713dc67a19d7dd9646761a784b9fe837e7" }, "downloads": -1, "filename": "xkcd-2.4.1.zip", "has_sig": false, "md5_digest": "4c2efe9e141a4c19e6dcf36fe993c9fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14688, "upload_time": "2016-12-07T01:33:57", "url": "https://files.pythonhosted.org/packages/6d/42/1d77eee4bb62b2ffce86d80d6d1af8d8b9bc765b064367fde22db5ccf190/xkcd-2.4.1.zip" } ], "2.4.2": [ { "comment_text": "", "digests": { "md5": "32fc87d07cbd5348bd0feec43721af5c", "sha256": "180cee51fd1733288448cd8551e36680b14811003287fe9ccf61888538dd0970" }, "downloads": -1, "filename": "xkcd-2.4.2.tar.gz", "has_sig": false, "md5_digest": "32fc87d07cbd5348bd0feec43721af5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10110, "upload_time": "2017-03-26T03:04:47", "url": "https://files.pythonhosted.org/packages/f8/dc/8e9824517b9fbc42f6d95a1a5d345c6b9e6dd885ec3a301953ac7c2fb4d3/xkcd-2.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "32fc87d07cbd5348bd0feec43721af5c", "sha256": "180cee51fd1733288448cd8551e36680b14811003287fe9ccf61888538dd0970" }, "downloads": -1, "filename": "xkcd-2.4.2.tar.gz", "has_sig": false, "md5_digest": "32fc87d07cbd5348bd0feec43721af5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10110, "upload_time": "2017-03-26T03:04:47", "url": "https://files.pythonhosted.org/packages/f8/dc/8e9824517b9fbc42f6d95a1a5d345c6b9e6dd885ec3a301953ac7c2fb4d3/xkcd-2.4.2.tar.gz" } ] }