{ "info": { "author": "Ben Rosser", "author_email": "rosser.bjr@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "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 :: Scientific/Engineering :: Mathematics" ], "description": "python-discrete\n===============\n\nThis is a Pure Python implementation of several discrete probability\ndistributions. There are no external dependencies.\n\nWhy would you use this over, say, numpy and scipy? The main reason would\nbe is if, for whatever reason, you're unable to install C extensions\n(for example, you need to work with 32-bit Python on a 64-bit system)\nand just need to generate random events. The Python ``random`` module\nsupports generating events for several continuous random distributions\nnot discrete ones, hence this module.\n\nUsage\n-----\n\nAll implemented distributions are a subclass of the abstract Discrete\nclass, with ``pdf(k)``, ``cdf(k)``, and ``generate(n)`` methods. The\ngenerate method returns an array of size ``n`` populated with randomly\ndistributed variables from the distribution.\n\nCurrently the Poisson and Binomial distributions are implemented. More\nwill likely be added in the future.\n\nLegal\n-----\n\ndiscrete is released under the MIT License; see attached LICENSE file.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/TC01/python-discrete", "keywords": "discrete random probability", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "discrete", "package_url": "https://pypi.org/project/discrete/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/discrete/", "project_urls": { "Homepage": "https://gitlab.com/TC01/python-discrete" }, "release_url": "https://pypi.org/project/discrete/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Pure Python implementation of discrete random variables", "version": "0.0.2" }, "last_serial": 2945199, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "4ca55207b7f1b1009e994dbc07226267", "sha256": "7212cd1b645c2f798abb12b5cf80b44e2623ad2c83ff8ed603999404a8bd2d24" }, "downloads": -1, "filename": "discrete-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4ca55207b7f1b1009e994dbc07226267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4555, "upload_time": "2017-06-12T20:46:21", "url": "https://files.pythonhosted.org/packages/9a/06/013d76986dfedab6af098046ac4daf16ee864b437bd8a35cca36e1e906b6/discrete-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ca55207b7f1b1009e994dbc07226267", "sha256": "7212cd1b645c2f798abb12b5cf80b44e2623ad2c83ff8ed603999404a8bd2d24" }, "downloads": -1, "filename": "discrete-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4ca55207b7f1b1009e994dbc07226267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4555, "upload_time": "2017-06-12T20:46:21", "url": "https://files.pythonhosted.org/packages/9a/06/013d76986dfedab6af098046ac4daf16ee864b437bd8a35cca36e1e906b6/discrete-0.0.2.tar.gz" } ] }