{ "info": { "author": "Devin Wallace", "author_email": "devinwallace@protonmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# MultiBinary\nA Multi-Thread Binary search written in Python3 by Devin Wallace\n\n## Usage\n```\nimport MultiBinary\n\nprint(MultiBinary.binary_search(somelist, someitem))\n\n>>>[[True, 12, 'hello']]\n\n```\n\n## Methods\n\n### binary_search(somelist, someitem, t_limit=100)\n* **_somelist_** this is the list you are searching through, it is set up to handle a 1-dimensional list.\n* **_someitem_** this is the item you are searching for within the list.\n* **_t_limit_** t_limit is the thread count limit, by default it is set to 100 threads, meaning that there will be 100 searches done simultaneously. consider your machines processing power before altering\n\n\n**binary_search return**\n[[True, 9, 802], [True, 44, 802]]\nreturns a 2D list where\n* [0][0] = boolean if found\n* [0][1] = index in list\n* [0][2] = item searched for\n\n\n## Testing\n\n```\nimport random, MultiBinary\nlist = []\nfor i in range(random.randint(20,100)):\nlist.append(random.randint(300,399))\n\nprint(MultiBinary.binary_search(list, 369))\n\n>>>[[True, 35, 369], [True, 44, 369]]\n```\n\n## Installing\n```\npip instal MultiBinary\n```\n\n\n\n## Hashes\n**MultiBinary-1.0.0.tar.gz**\n* SHA265: 92b8cf64d6701af578275fec82ee627a20bf4b83cfbe98dcc7e77577e0c61001\n\n**MultiBinary-1.0.0-py3-none-any.whl**\n* SHA256: 92b8cf64d6701af578275fec82ee627a20bf4b83cfbe98dcc7e77577e0c61001\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/Devin-Wallace/MultiBinary", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "MultiBinary", "package_url": "https://pypi.org/project/MultiBinary/", "platform": "", "project_url": "https://pypi.org/project/MultiBinary/", "project_urls": { "Homepage": "https://github.com/Devin-Wallace/MultiBinary" }, "release_url": "https://pypi.org/project/MultiBinary/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A multi-thread binary search", "version": "1.0.0" }, "last_serial": 5126203, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9254c0e8cf1e2482767786405384ff97", "sha256": "ee4229a140cd18796dc31f72e9def844258adbc3d2fff08105a1cbe5ed9f45db" }, "downloads": -1, "filename": "MultiBinary-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9254c0e8cf1e2482767786405384ff97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3147, "upload_time": "2019-04-10T22:00:23", "url": "https://files.pythonhosted.org/packages/a1/d2/0a7a09c99f100919b72b23a52c309e0ec90d969edf464ecc3d19589aa659/MultiBinary-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "793917ad87125ff70c44bd29d255ec0e", "sha256": "79866f61d4cebbd65a6e2cb78fce0e791b2e2941041b609f11fef90c9b63baea" }, "downloads": -1, "filename": "MultiBinary-1.0.0.tar.gz", "has_sig": false, "md5_digest": "793917ad87125ff70c44bd29d255ec0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2054, "upload_time": "2019-04-10T22:00:25", "url": "https://files.pythonhosted.org/packages/b5/21/b8251679173e976103ba76ea7fbfb0a5c498b8a1d98a8490e20e72b4ef2f/MultiBinary-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9254c0e8cf1e2482767786405384ff97", "sha256": "ee4229a140cd18796dc31f72e9def844258adbc3d2fff08105a1cbe5ed9f45db" }, "downloads": -1, "filename": "MultiBinary-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9254c0e8cf1e2482767786405384ff97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3147, "upload_time": "2019-04-10T22:00:23", "url": "https://files.pythonhosted.org/packages/a1/d2/0a7a09c99f100919b72b23a52c309e0ec90d969edf464ecc3d19589aa659/MultiBinary-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "793917ad87125ff70c44bd29d255ec0e", "sha256": "79866f61d4cebbd65a6e2cb78fce0e791b2e2941041b609f11fef90c9b63baea" }, "downloads": -1, "filename": "MultiBinary-1.0.0.tar.gz", "has_sig": false, "md5_digest": "793917ad87125ff70c44bd29d255ec0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2054, "upload_time": "2019-04-10T22:00:25", "url": "https://files.pythonhosted.org/packages/b5/21/b8251679173e976103ba76ea7fbfb0a5c498b8a1d98a8490e20e72b4ef2f/MultiBinary-1.0.0.tar.gz" } ] }