{ "info": { "author": "asmaier", "author_email": "asmaier@web.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Natural Language :: French", "Natural Language :: German", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "Haddock\n=======\n\nAren\u2019t you bored of reading and writing the same error messages over and over again like \u201cWrong\nargument!\u201d, \u201cEnd date must be after start date!\u201d , \u201cDivision by zero!\u201d etc. . With the haddock\npackage you will be able to spice them up a bit:\n\n- \u201cWrong argument, dipsomaniac!\u201d\n- \u201cEnd date must be after start date, whipper-snapper!\u201d\n- \u201cDivision by zero, interplanetary goat!\u201d\n\nTo do this, the method curse() of this package returns random curses from `Captain\nHaddock `__. At the moment it supports curses in\nenglish (default), german and french.\n\nThe sources for the curses are - en: http://www3.sympatico.ca/brooksdr/haddock/main.htm - de:\nhttps://weltenwandel.wordpress.com/2011/04/22/ die-1w100-fluche-des-kapitan-haddock/ - fr:\nhttps://fr.wikipedia.org/wiki/Vocabulaire_du_capitaine_Haddock\n\nPull requests for other languages are welcome.\n\nInstallation\n------------\n\n::\n\n pip install haddock-curses\n\nUsage\n-----\n\n::\n\n import haddock\n >>> print(haddock.curse())\n anthropophagus!\n\nYou can use the `title() method `__ from\nPython standard library to capitalize your swears.\n\n::\n\n >>> print(haddock.curse().title())\n Brontosaurus!\n >>> print(haddock.curse(lang=\"de\").title())\n Sie Logarithmus!\n >>> print(haddock.curse(lang=\"fr\").title())\n Bande D'Ectoplasmes De Tonnerre De Brest \n\nYou can decorate existing exception message with curses.\n\n::\n\n >>> try: 0/0\n ... except Exception as e: print(str(e) + \", \" + haddock.curse() + \"!\")\n ...\n division by zero, confounded rattletrap!!\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/asmaier/haddock", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "haddock-curses", "package_url": "https://pypi.org/project/haddock-curses/", "platform": "", "project_url": "https://pypi.org/project/haddock-curses/", "project_urls": { "Homepage": "https://github.com/asmaier/haddock" }, "release_url": "https://pypi.org/project/haddock-curses/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Random curses from Captain Haddock.", "version": "0.1.4" }, "last_serial": 5652083, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9eafa85ac4d4fe8dae697d7a67707ab5", "sha256": "2e4264aa540990b675ff4013711ce07a3080e4a227f504581ae008099a692089" }, "downloads": -1, "filename": "haddock-curses-0.1.tar.gz", "has_sig": false, "md5_digest": "9eafa85ac4d4fe8dae697d7a67707ab5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7044, "upload_time": "2017-09-20T11:33:21", "url": "https://files.pythonhosted.org/packages/7e/14/bc4df5617a0f9fc95ac1b2b55af0044e32ebb5ade412ba8f87e2da91b0ed/haddock-curses-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d0a3c0752a78ddce05dfa177bced42a4", "sha256": "b5e1c01413f252710ce639c72b23175b7c1343b8d5ca93e5c7ed768e014f4733" }, "downloads": -1, "filename": "haddock-curses-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d0a3c0752a78ddce05dfa177bced42a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7958, "upload_time": "2017-09-20T12:25:02", "url": "https://files.pythonhosted.org/packages/26/30/09b70a8fb8e9e4e83f0b3dacfdf23ef23127eab929a9863df04b4bf58fb3/haddock-curses-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5138ff7e812188ebbf1d93c3f39bdb3b", "sha256": "cb72ee40be43644d661b434677d3e4534695f2628d517765015b175f011218b4" }, "downloads": -1, "filename": "haddock-curses-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5138ff7e812188ebbf1d93c3f39bdb3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8157, "upload_time": "2017-09-20T13:15:54", "url": "https://files.pythonhosted.org/packages/88/3e/d8e0da3c84275456bec4a25daf10e4dc3bd72342672a76c582527ad08470/haddock-curses-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "87590e58a391982ae6dbd47746733eba", "sha256": "8332b4c3db7d5a7daefa9838afe0011b7317fc3c7c6f146f722161981fb19b42" }, "downloads": -1, "filename": "haddock-curses-0.1.3.tar.gz", "has_sig": false, "md5_digest": "87590e58a391982ae6dbd47746733eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8102, "upload_time": "2017-09-20T13:19:16", "url": "https://files.pythonhosted.org/packages/a8/ac/c8db545d8be84e1c011dc022f1726c17d9e94f29dc2e7b54d453f57bf418/haddock-curses-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "0b7f0f1f1aae10e054cae10be1009002", "sha256": "8b3cadfdf521e2da62c779dc9886736c537801a721512495245529cf2752a4b0" }, "downloads": -1, "filename": "haddock-curses-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0b7f0f1f1aae10e054cae10be1009002", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8151, "upload_time": "2019-08-08T20:27:51", "url": "https://files.pythonhosted.org/packages/07/f7/35b7b1701f8b4a16e8fb5830b355ad0166bc1f7c8a24af9aad634af8e6cc/haddock-curses-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0b7f0f1f1aae10e054cae10be1009002", "sha256": "8b3cadfdf521e2da62c779dc9886736c537801a721512495245529cf2752a4b0" }, "downloads": -1, "filename": "haddock-curses-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0b7f0f1f1aae10e054cae10be1009002", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8151, "upload_time": "2019-08-08T20:27:51", "url": "https://files.pythonhosted.org/packages/07/f7/35b7b1701f8b4a16e8fb5830b355ad0166bc1f7c8a24af9aad634af8e6cc/haddock-curses-0.1.4.tar.gz" } ] }