{ "info": { "author": "Vyacheslav Linnik", "author_email": "hello@slavalinnik.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5" ], "description": "This is rather small collection of round robin utilites\n\n```python\n>>> import roundrobin\n>>> get_roundrobin = roundrobin.basic([\"A\", \"B\", \"C\"])\n>>> ''.join([get_roundrobin() for _ in range(7)])\n'ABCABCA'\n>>> # weighted round-robin balancing algorithm as seen in LVS\n>>> get_weighted = roundrobin.weighted([(\"A\", 5), (\"B\", 1), (\"C\", 1)])\n>>> ''.join([get_weighted() for _ in range(7)])\n'AAAAABC'\n>>> # smooth weighted round-robin balancing algorithm as seen in Nginx\n>>> get_weighted_smooth = roundrobin.smooth([(\"A\", 5), (\"B\", 1), (\"C\", 1)])\n>>> ''.join([get_weighted_smooth() for _ in range(7)])\n'AABACAA'\n```\n\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/linnik/roundrobin", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "roundrobin", "package_url": "https://pypi.org/project/roundrobin/", "platform": "", "project_url": "https://pypi.org/project/roundrobin/", "project_urls": { "Homepage": "https://github.com/linnik/roundrobin" }, "release_url": "https://pypi.org/project/roundrobin/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Collection of roundrobin utilities", "version": "0.0.1" }, "last_serial": 4867045, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "aef864d03807dfc848a419f8bbd5bb99", "sha256": "bba3416a1be6863b81fb7839cf3f041ed9550c12d986603d225377fb32a20736" }, "downloads": -1, "filename": "roundrobin-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "aef864d03807dfc848a419f8bbd5bb99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3019, "upload_time": "2019-02-25T22:26:02", "url": "https://files.pythonhosted.org/packages/7a/c0/42e504c02e53efeadbcd09102fc124dd5f289ce0b3f19989394f1caa9bd6/roundrobin-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad9a53e57b657198ddecc4e1e2cd3be7", "sha256": "f5e9b70e3ecbc092d37888e8a0e81c70eea181d0f45e12a0269bbb5d13d2b248" }, "downloads": -1, "filename": "roundrobin-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ad9a53e57b657198ddecc4e1e2cd3be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2028, "upload_time": "2019-02-25T22:26:04", "url": "https://files.pythonhosted.org/packages/05/59/150a086acddfc4e14802e4ac43134072efa53a437e0704ed31ba6ab559ba/roundrobin-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aef864d03807dfc848a419f8bbd5bb99", "sha256": "bba3416a1be6863b81fb7839cf3f041ed9550c12d986603d225377fb32a20736" }, "downloads": -1, "filename": "roundrobin-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "aef864d03807dfc848a419f8bbd5bb99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3019, "upload_time": "2019-02-25T22:26:02", "url": "https://files.pythonhosted.org/packages/7a/c0/42e504c02e53efeadbcd09102fc124dd5f289ce0b3f19989394f1caa9bd6/roundrobin-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad9a53e57b657198ddecc4e1e2cd3be7", "sha256": "f5e9b70e3ecbc092d37888e8a0e81c70eea181d0f45e12a0269bbb5d13d2b248" }, "downloads": -1, "filename": "roundrobin-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ad9a53e57b657198ddecc4e1e2cd3be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2028, "upload_time": "2019-02-25T22:26:04", "url": "https://files.pythonhosted.org/packages/05/59/150a086acddfc4e14802e4ac43134072efa53a437e0704ed31ba6ab559ba/roundrobin-0.0.1.tar.gz" } ] }