{ "info": { "author": "Jim Haughwout", "author_email": "haughwout@alum.mit.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Games/Entertainment" ], "description": "theword\n=======\n\n|Build Status|\n\nInspired by Python's ``import this``, `The\nTrashmen `__, and `The\nFamily Guy `__, **theword**\nis a quirky library to answer that eternal question, \"What's the word?\"\n\nInstallation\n------------\nFrom any command line:\n\n.. code:: sh\n\n $ pip install theword\n\nEmulating the Zen of Python\n---------------------------\n\nFrom any command line:\n\n.. code:: sh\n\n $ python -c \"import theword\"\n\n _Surfin' Bird_, by The Trashmen\n\n A well a everybody's heard about the bird\n Bird, bird, bird, b-bird's the word\n A well a bird, bird, bird, b-bird's the word\n A well a bird, bird, bird, b-bird's the word\n A well a bird, bird, b-bird's the word\n\nGeneral Usage\n-------------\n\nYou can import any of the following:\n\n.. code:: python\n\n from theword import TheWord, TheBird, what_is_the_word\n\nAsk the question:\n\n.. code:: python\n\n >>> what_is_the_word()\n # Returns TheBird\n >>> what_is_the_word().answer\n '[E]verybody knows that the bird is the word!'\n >>> print what_is_the_word() # We overloaded __str__\n {\"answer\": \"[E]verybody knows that the bird is the word!\", \"question\": \"What's the word?\", \"id\": \"The Bird\"}\n\nMore quirky fun:\n\n.. code:: python\n\n >>> what_is_the_word().play() # Turn on the volume, ensure your WiFi is on\n {'artist': 'The Trashmen', 'title': \"Surfin' Bird\", 'question': \"What's the word?\", 'released': 1964, 'answer': '[E]verybody knows that the bird is the word!', 'id': 'The Bird'}\n >>> what_is_the_word().celebrate() # Be prepared to laugh\n {'answer': '[E]verybody knows that the bird is the word!', 'celebrated_on': \"FOX's The Family Guy\", 'question': \"What's the word?\", 'id': 'The Bird', 'celebrated_by': 'Seth MacFarlane'}\n >>>\n\nIf you watch all the skits you will recognize this:\n\n Sir, our math shows that the Bird is greater than or equal to the\n Word!\n\n.. code:: python\n\n >>> isinstance(TheBird(), TheWord)\n True\n >>> issubclass(TheBird, TheWord)\n True\n\n.. |Build Status| image:: https://travis-ci.org/geopy/geopy.svg?branch=master\n :target: https://travis-ci.org/JimHaughwout/theword.svg?branch=dev", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/JimHaughwout/theword/tarball/1.0.1b2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JimHaughwout/theword", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "theword", "package_url": "https://pypi.org/project/theword/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/theword/", "project_urls": { "Download": "https://github.com/JimHaughwout/theword/tarball/1.0.1b2", "Homepage": "https://github.com/JimHaughwout/theword" }, "release_url": "https://pypi.org/project/theword/1.0.1b2/", "requires_dist": null, "requires_python": null, "summary": "Humor inspired by `import this` and _The Trashmen_", "version": "1.0.1b2" }, "last_serial": 2176171, "releases": { "1.0.1b2": [ { "comment_text": "", "digests": { "md5": "cdc280cefef700a6dfe9f5d1192cb249", "sha256": "a67eb7ca533e2f4a93212caf9498c76856382c68f887b871e3ce263d92532a5c" }, "downloads": -1, "filename": "theword-1.0.1b2.tar.gz", "has_sig": false, "md5_digest": "cdc280cefef700a6dfe9f5d1192cb249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2450, "upload_time": "2016-06-19T19:34:01", "url": "https://files.pythonhosted.org/packages/78/33/87b2459d28641e22a483a225f0c729fff8dcebea4d4581d19d53c66acdc1/theword-1.0.1b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdc280cefef700a6dfe9f5d1192cb249", "sha256": "a67eb7ca533e2f4a93212caf9498c76856382c68f887b871e3ce263d92532a5c" }, "downloads": -1, "filename": "theword-1.0.1b2.tar.gz", "has_sig": false, "md5_digest": "cdc280cefef700a6dfe9f5d1192cb249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2450, "upload_time": "2016-06-19T19:34:01", "url": "https://files.pythonhosted.org/packages/78/33/87b2459d28641e22a483a225f0c729fff8dcebea4d4581d19d53c66acdc1/theword-1.0.1b2.tar.gz" } ] }