{ "info": { "author": "Brian M. Clapper", "author_email": "bmc@clapper.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Games/Entertainment", "Topic :: Text Processing :: Filters" ], "description": "\n# Introduction\n\n`fortune` is a stripped-down implementation of the classic BSD Unix\n`fortune` command. It combines the capabilities of the `strfile` command\n(which produces the fortune index file) and the `fortune` command (which\ndisplays a random fortune). It reads the traditional `fortune` program's\ntext file format.\n\n# Usage\n\nUsage:\n\n fortune [OPTIONS] /path/to/fortunes\n\n OPTIONS\n\n -h, --help Show usage and exit.\n -u, --update Update the index file.\n -q, --quiet When updating the index file, do so quietly.\n -V, --version Show version and exit.\n\nIf you omit the path, `fortune` looks at the `FORTUNE_FILE` environment\nvariable. If that environment variable isn't set, `fortune` aborts.\n\n# Fortune Cookie File Format\n\nA fortune cookie file is a text file full of quotes. The format is simple:\nThe file consists of paragraphs separated by lines containing a single '%'\ncharacter. For example::\n\n A little caution outflanks a large cavalry.\n -- Bismarck\n %\n A little retrospection shows that although many fine, useful software\n systems have been designed by committees and built as part of multipart\n projects, those software systems that have excited passionate fans are\n those that are the products of one or a few designing minds, great\n designers. Consider Unix, APL, Pascal, Modula, the Smalltalk interface,\n even Fortran; and contrast them with Cobol, PL/I, Algol, MVS/370, and\n MS-DOS.\n -- Fred Brooks, Jr.\n %\n A man is not old until regrets take the place of dreams.\n -- John Barrymore\n\n\n# Generating a Random Fortune\n\nJust run:\n\n fortune /path/to/fortunes\n\nIf your `FORTUNE_FILE` environment variable is set, you can run it as\n\n fortune\n\n# Differences\n\nThis version of `fortune` does not provide some of the more advanced\ncapabilities of the original BSD program. For instance, it lacks:\n\n- the ability to mark offensive and inoffensive fortunes\n- the ability to separate long and short quotes\n- the ability to print all fortunes matching a regular expression\n\nIt does, however, provide the most important function: The ability to display\na random quote from a set of quotes.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://software.clapper.org/fortune/", "keywords": "", "license": "BSD-style license", "maintainer": "", "maintainer_email": "", "name": "fortune", "package_url": "https://pypi.org/project/fortune/", "platform": "", "project_url": "https://pypi.org/project/fortune/", "project_urls": { "Homepage": "http://software.clapper.org/fortune/" }, "release_url": "https://pypi.org/project/fortune/1.1.0/", "requires_dist": [ "grizzled-python (>=1.0)" ], "requires_python": "", "summary": "Python version of old BSD Unix fortune program", "version": "1.1.0" }, "last_serial": 4912489, "releases": { "0.4": [], "0.5": [], "0.5.1": [ { "comment_text": "", "digests": { "md5": "493ccbd320d5c821cb882b70060ce14a", "sha256": "27306183189b844d747c6005e6ac49720b72175e646e74b297c9d5b6c4cd54e8" }, "downloads": -1, "filename": "fortune-0.5.1.tar.gz", "has_sig": false, "md5_digest": "493ccbd320d5c821cb882b70060ce14a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5766, "upload_time": "2010-06-25T22:52:48", "url": "https://files.pythonhosted.org/packages/f4/ee/3c475b74526a18e6e36769bad8c4a805385892eb66c0a207ab09d6643efd/fortune-0.5.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "a491b1fa293ff037019b01f5ff278603", "sha256": "f724fc37b725e549b8ea0e6a874cf09d8a25cd3eb84a5a4bf44710c99c0c69ce" }, "downloads": -1, "filename": "fortune-0.5.1.zip", "has_sig": false, "md5_digest": "a491b1fa293ff037019b01f5ff278603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11261, "upload_time": "2010-06-25T22:52:49", "url": "https://files.pythonhosted.org/packages/fb/53/843b5224b1be1c4d4870ab848eee61c6f2a004083359c6f6f741986952af/fortune-0.5.1.zip" } ], "0.5.2": [], "1.0": [ { "comment_text": "", "digests": { "md5": "ad248ffb2da4ad4aa0379a36d61e4b28", "sha256": "fa2be8cbe75f6ed5b6b379f24175935cf3ba6a084cffa57a4efc917fed1a8505" }, "downloads": -1, "filename": "fortune-1.0.zip", "has_sig": false, "md5_digest": "ad248ffb2da4ad4aa0379a36d61e4b28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11470, "upload_time": "2011-03-15T03:41:12", "url": "https://files.pythonhosted.org/packages/13/36/9e8aa2fc2991948b070643fe1296d941845b4af3c8481b877823403787cc/fortune-1.0.zip" } ], "1.0.1": [], "1.1.0": [ { "comment_text": "", "digests": { "md5": "f299921e0c218a84d09095ef1b74c673", "sha256": "b49e1e31c27c195b8f3b2eea988587267bcf41ab4f4a7fb8654dd28e39634f2a" }, "downloads": -1, "filename": "fortune-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f299921e0c218a84d09095ef1b74c673", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5862, "upload_time": "2019-03-07T20:59:56", "url": "https://files.pythonhosted.org/packages/4d/fe/2356a411f85aa6b435419a693ec9388319146b7f363202b7aa5f1552eea2/fortune-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c58b9216b74d47db49783f3b7efaea1", "sha256": "2987a77d40e5a497c2bb0f889f7a8c6b29c3a911b4c5a2e14112a5d26048d1b9" }, "downloads": -1, "filename": "fortune-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9c58b9216b74d47db49783f3b7efaea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4411, "upload_time": "2019-03-07T20:59:56", "url": "https://files.pythonhosted.org/packages/e7/7a/d6361169d78c761216348e69b3c446be522b0b515a31f7333817f44ee56e/fortune-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f299921e0c218a84d09095ef1b74c673", "sha256": "b49e1e31c27c195b8f3b2eea988587267bcf41ab4f4a7fb8654dd28e39634f2a" }, "downloads": -1, "filename": "fortune-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f299921e0c218a84d09095ef1b74c673", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5862, "upload_time": "2019-03-07T20:59:56", "url": "https://files.pythonhosted.org/packages/4d/fe/2356a411f85aa6b435419a693ec9388319146b7f363202b7aa5f1552eea2/fortune-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c58b9216b74d47db49783f3b7efaea1", "sha256": "2987a77d40e5a497c2bb0f889f7a8c6b29c3a911b4c5a2e14112a5d26048d1b9" }, "downloads": -1, "filename": "fortune-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9c58b9216b74d47db49783f3b7efaea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4411, "upload_time": "2019-03-07T20:59:56", "url": "https://files.pythonhosted.org/packages/e7/7a/d6361169d78c761216348e69b3c446be522b0b515a31f7333817f44ee56e/fortune-1.1.0.tar.gz" } ] }