{ "info": { "author": "Francis Horsman", "author_email": "francis.horsman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "README\n======\n\nA pure-python random number generator expander.\n\nGiven a random number generator that yields numbers in the range 1-n,\ncreate a new random number generator that yields numbers in the range\n1-y where y>x, x>1, y>1, y>x**2\n\n.. image:: https://codeship.com/projects/b37d0320-ae33-0132-1fd1-1a9f620f162c/status?branch=master\n :target: https://codeship.com/projects/68826\n :alt: Codeship Status\n.. image:: https://api.shippable.com/projects/550718be5ab6cc13529c1947/badge?branchName=master\n :target: https://app.shippable.com/projects/550718be5ab6cc13529c1947/builds/latest\n :alt: Build Status\n.. image:: https://pypip.in/download/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Downloads\n.. image:: https://pypip.in/version/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Latest Version\n.. image:: https://pypip.in/py_versions/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Supported Python versions\n.. image:: https://pypip.in/status/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Development Status\n.. image:: https://pypip.in/wheel/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Wheel Status\n.. image:: https://pypip.in/egg/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Egg Status\n.. image:: https://pypip.in/format/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: Download format\n.. image:: https://pypip.in/license/randy/badge.svg\n :target: https://pypi.python.org/pypi/randy/\n :alt: License\n\nHow do I get set up?\n~~~~~~~~~~~~~~~~~~~~\n\n- **python setup.py install**\n- Dependencies: **six**\n- Dependencies (test): **Coverage, nose**\n- How to run tests: **./runtests.sh**\n- Deployment instructions: **pip install shifty**\n\nContribution guidelines\n~~~~~~~~~~~~~~~~~~~~~~~\n\nI accept pull requests.\n\nWhat about test coverage?\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThere is a full suite of unit-tests.\n\nWho do I talk to?\n~~~~~~~~~~~~~~~~~\n\n- Francis Horsman: **francis.horsman@gmail.com**\n\nExample\n~~~~~~~\n\n::\n\n >>> from randy import randy\n >>> import random\n >>> r = randy(5, 7, fn=lambda: random.randint(1, 5))\n\n Slice it:\n >>> random_value = r[2] 3\n\n Call it:\n >>> random_value = r() 1\n\n Iterate with it:\n >>> random_value = iter(r).next() 5\n\n Print it:\n >>> str(r) 'randy(7 from 5): [[1, 2, 3, 4, 5], [6, 7, 1, 2,3], [4, 5, 6, 7, 1], [2, 3, 4, 5, 6], [7, 0, 0, 0, 0]]'\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sys-git/randy", "keywords": "algorithms", "license": "GNU General Public License", "maintainer": null, "maintainer_email": null, "name": "randy", "package_url": "https://pypi.org/project/randy/", "platform": "any", "project_url": "https://pypi.org/project/randy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/sys-git/randy" }, "release_url": "https://pypi.org/project/randy/0.9.3/", "requires_dist": null, "requires_python": null, "summary": "A pure-python random number generator expander", "version": "0.9.3" }, "last_serial": 1466965, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "8c65786ae484b2b72335d51895d2fec6", "sha256": "3188b85e538e4c2b881ff2857d9826d9de13795516bcffd318dbd989138a857c" }, "downloads": -1, "filename": "randy-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8c65786ae484b2b72335d51895d2fec6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4962, "upload_time": "2015-03-18T13:33:30", "url": "https://files.pythonhosted.org/packages/f6/0c/5fbb526bb636a8e9523154a9255c17a7c0c2edb56a85500abeb9e21aa9ab/randy-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1497f7de03e7b3bf68dd07709441cac9", "sha256": "5167aa33acd3135cde0267cc3f8feb08c2bf3731b8d74fa3a00e9a03ad537d81" }, "downloads": -1, "filename": "randy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1497f7de03e7b3bf68dd07709441cac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5444, "upload_time": "2015-03-18T13:33:27", "url": "https://files.pythonhosted.org/packages/e8/d3/6021499117a6ef063d22c1574f0c4d1ffdde8a4a55e1685fbc47772350f6/randy-0.0.4.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "8487cc0b157855468b10c86b018caba5", "sha256": "a875b427bb2b3a93e9955358767b33f4f188da07f7a00a93e09bf79f25597f5e" }, "downloads": -1, "filename": "randy-0.9.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8487cc0b157855468b10c86b018caba5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4958, "upload_time": "2015-03-18T13:38:36", "url": "https://files.pythonhosted.org/packages/28/84/a2eb991e3feb0215b77cd56b061f39b92cb765ab00a8a372350e8e07a041/randy-0.9.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89f3025f852d1f2e1a5ef564d0e06129", "sha256": "1b94af02ffa5e13e378ece3bcb3db43fe00129a8294ddce9bb4602b3663dba48" }, "downloads": -1, "filename": "randy-0.9.0.tar.gz", "has_sig": false, "md5_digest": "89f3025f852d1f2e1a5ef564d0e06129", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5514, "upload_time": "2015-03-18T13:38:33", "url": "https://files.pythonhosted.org/packages/b1/8e/dc58e2e735ee4258a8f4ba4848442c37e74c6045051a92d9a9982a9e1255/randy-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "8ce497886304ebb3390b5f596d4f209b", "sha256": "71e4fb0c1ee5109b452241e31ed2a2aa030f3fb3be440c052d15fdc96983b9fe" }, "downloads": -1, "filename": "randy-0.9.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8ce497886304ebb3390b5f596d4f209b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4962, "upload_time": "2015-03-18T13:39:36", "url": "https://files.pythonhosted.org/packages/64/d0/b80e775ba6f23b4ce63368c27934ce8066b4689538f675189e10ac9e73d5/randy-0.9.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "230a8e57cd2bd81d014aa90cd4ff6096", "sha256": "dd06d9a579b425582e0c96d486816bd36054d87fa84270eadedb0de9db46820c" }, "downloads": -1, "filename": "randy-0.9.1.tar.gz", "has_sig": false, "md5_digest": "230a8e57cd2bd81d014aa90cd4ff6096", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5512, "upload_time": "2015-03-18T13:39:33", "url": "https://files.pythonhosted.org/packages/5e/80/dc2d2224936332c65cb70ccac00214de8ac79c54b1a4cc1edf46bc1ac26a/randy-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "38795f15666a9509c45e67ce80476e44", "sha256": "296419be9e55d2f28d69e1c774cd771ada4fe9ef18cc9a9f2ad6dd6fe60e565c" }, "downloads": -1, "filename": "randy-0.9.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "38795f15666a9509c45e67ce80476e44", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4958, "upload_time": "2015-03-18T13:46:36", "url": "https://files.pythonhosted.org/packages/f0/4b/c85ad5f1aefce5ecbf8ca8ecbb365cc0e2812b280c17d4607fdd9c3634cc/randy-0.9.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e31bfb7f9cf8b0731fd7a6c5ee6bdc1f", "sha256": "f877b772ae227563910289c1871dd0f0250fa77a4397db3b7e90b163dd9f3d23" }, "downloads": -1, "filename": "randy-0.9.2.tar.gz", "has_sig": false, "md5_digest": "e31bfb7f9cf8b0731fd7a6c5ee6bdc1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4912, "upload_time": "2015-03-18T13:46:32", "url": "https://files.pythonhosted.org/packages/11/53/232389ba42a2ec8b73b5d22d5587facb89d97dceea422ca3e217b5be22a4/randy-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "57c74ddd1dca33b1a4db40e8da14eaed", "sha256": "aaadadd2a583ec2c3cec8e70605603e12e34bd1ade18e7c4919e9fcb3d2011aa" }, "downloads": -1, "filename": "randy-0.9.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "57c74ddd1dca33b1a4db40e8da14eaed", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4962, "upload_time": "2015-03-18T14:05:08", "url": "https://files.pythonhosted.org/packages/08/d6/f63517a737ac8357fa769a346c6a5e7aa04a0129edd28051d9329d8f17ee/randy-0.9.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4deeb8df6b0e911c406965a45253b398", "sha256": "9b4107a8c1df8fc1b1635f506f9fe2d2fc1dd91ae0c419179f0a0cc1c26f8805" }, "downloads": -1, "filename": "randy-0.9.3.tar.gz", "has_sig": false, "md5_digest": "4deeb8df6b0e911c406965a45253b398", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5396, "upload_time": "2015-03-18T14:05:05", "url": "https://files.pythonhosted.org/packages/76/f6/2fd6fbab3c7d9654ee791cbc447dffc1f3b2c5a4143267b53480eac054cb/randy-0.9.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57c74ddd1dca33b1a4db40e8da14eaed", "sha256": "aaadadd2a583ec2c3cec8e70605603e12e34bd1ade18e7c4919e9fcb3d2011aa" }, "downloads": -1, "filename": "randy-0.9.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "57c74ddd1dca33b1a4db40e8da14eaed", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4962, "upload_time": "2015-03-18T14:05:08", "url": "https://files.pythonhosted.org/packages/08/d6/f63517a737ac8357fa769a346c6a5e7aa04a0129edd28051d9329d8f17ee/randy-0.9.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4deeb8df6b0e911c406965a45253b398", "sha256": "9b4107a8c1df8fc1b1635f506f9fe2d2fc1dd91ae0c419179f0a0cc1c26f8805" }, "downloads": -1, "filename": "randy-0.9.3.tar.gz", "has_sig": false, "md5_digest": "4deeb8df6b0e911c406965a45253b398", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5396, "upload_time": "2015-03-18T14:05:05", "url": "https://files.pythonhosted.org/packages/76/f6/2fd6fbab3c7d9654ee791cbc447dffc1f3b2c5a4143267b53480eac054cb/randy-0.9.3.tar.gz" } ] }