{ "info": { "author": "Tom Gray", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Prob Book [![Build Status](https://travis-ci.com/TomJamesGray/prob-book.svg?branch=master)](https://travis-ci.com/TomJamesGray/prob-book)\nInteractive python shell and jupyter notebook kernel\nto calculate probabilities for common statisitcal\ndistributions. Documentation can be found in the [Github wiki](https://github.com/TomJamesGray/prob-book/wiki)\n\n![Image of prob book's jupyter notebook kernel plotting the\nstandard normal distribution](jupyter_eg.png)\n\nCurrently the distributions implemented and the functions to define them are:\n* Normal - `N`\n* Exponential - `Exp`\n* Binomial - `B`\n* Poisson - `Po`\n* Geometric - `Geo`\n\n## Installation\n```\npip install prob-book\n# Then to install the jupyter kernel run\npython -m prob_book.install-kernel\n```\n\n## Use\nTo run the terminal version run the command `prob-book`\n\nTo use the jupyter kernel you can:\n* Start the notebook server by running `jupyter notebook` then select \"Prob Book\"\nfrom the new notebook menu\n* Run `jupyter console --kernel prob_book`\n\n## Examples\nCreate a standard normal distribution named X and compute P(X<2)\n```\n>>> X~N(0,1)\n>>> P(X<2)\n0.97725\n```\n---\nCreate a binomial distribution with 10 trials and a success probability\nof 0.3, then compute the probability there are 4 or fewer successes\n```\n>>> Y~B(10,0.3)\n>>> P(Y<=4)\n0.849732\n```\n\n## TODO\n* Implement help function for distributions, eg Help(Exp) will tell you the\nparameters for the Exponential dist\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TomJamesGray/prob-book", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "prob-book", "package_url": "https://pypi.org/project/prob-book/", "platform": "", "project_url": "https://pypi.org/project/prob-book/", "project_urls": { "Homepage": "https://github.com/TomJamesGray/prob-book" }, "release_url": "https://pypi.org/project/prob-book/0.2/", "requires_dist": [ "lark-parser", "ipykernel", "matplotlib", "numpy" ], "requires_python": "", "summary": "Interactive terminal and jupyter notebook kernel for probability calculations", "version": "0.2" }, "last_serial": 5896868, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "eb79d823ae6922e0c2cf074ff63e530f", "sha256": "b832ba803a5c106f69add41c10925834077382a4bebf452250261cf0320515bd" }, "downloads": -1, "filename": "prob_book-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "eb79d823ae6922e0c2cf074ff63e530f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16768, "upload_time": "2019-09-17T16:39:22", "url": "https://files.pythonhosted.org/packages/b3/0c/90ec0fb00b9d75fd9a13ea779321aa13a8f7d8fa18c2674f1935e810e3c4/prob_book-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d233aeea3543576f01a60482498a1508", "sha256": "ef3792e195b414e64ab1a86978b8dbe154d6281a4ab07b012ad6225f6a0abaca" }, "downloads": -1, "filename": "prob_book-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d233aeea3543576f01a60482498a1508", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17987, "upload_time": "2019-09-27T16:04:18", "url": "https://files.pythonhosted.org/packages/82/70/516653ca3b4c77535d284470e2b6f230a71a21852e5c42d13bf8614539fb/prob_book-0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d233aeea3543576f01a60482498a1508", "sha256": "ef3792e195b414e64ab1a86978b8dbe154d6281a4ab07b012ad6225f6a0abaca" }, "downloads": -1, "filename": "prob_book-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d233aeea3543576f01a60482498a1508", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17987, "upload_time": "2019-09-27T16:04:18", "url": "https://files.pythonhosted.org/packages/82/70/516653ca3b4c77535d284470e2b6f230a71a21852e5c42d13bf8614539fb/prob_book-0.2-py3-none-any.whl" } ] }