{"id":20169110,"url":"https://github.com/shikha-code36/binary_search","last_synced_at":"2025-03-03T04:13:13.609Z","repository":{"id":65794645,"uuid":"600009331","full_name":"Shikha-code36/binary_search","owner":"Shikha-code36","description":"A binary search algorithm method ","archived":false,"fork":false,"pushed_at":"2023-02-10T14:45:31.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T17:41:47.506Z","etag":null,"topics":["algorithms","algorithms-and-data-structures","binary-search","binary-search-algorithm","data-structures","data-structures-and-algorithms","python-ds-algo","search-algorithm","searching-algorithms","searching-algorithms-interview"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/search-binary/0.0.1/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shikha-code36.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-10T11:30:47.000Z","updated_at":"2023-05-01T14:24:43.000Z","dependencies_parsed_at":"2023-11-11T00:12:13.528Z","dependency_job_id":null,"html_url":"https://github.com/Shikha-code36/binary_search","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"bcb15a706cfe9e10adef9d14381cc5d85523daee"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fbinary_search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fbinary_search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fbinary_search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fbinary_search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shikha-code36","download_url":"https://codeload.github.com/Shikha-code36/binary_search/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241605819,"owners_count":19989612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","algorithms-and-data-structures","binary-search","binary-search-algorithm","data-structures","data-structures-and-algorithms","python-ds-algo","search-algorithm","searching-algorithms","searching-algorithms-interview"],"created_at":"2024-11-14T01:11:25.156Z","updated_at":"2025-03-03T04:13:13.590Z","avatar_url":"https://github.com/Shikha-code36.png","language":"Python","readme":"# binarysearch_build\n\nA simple implementation of binary search in Python.\n\n# Binary Search\n\nBinary Search is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half.\n\n## Installation\n\n- Make sure you have Python installed in your system.\n- Run Following command in the CMD.\n\n ```\n  pip install search_binary\n  ```\n\n  \n## Usage\n\nHere's an example of how to use the `binary_search` function:\n\n```\nfrom search_binary import binary_search\n\narr = [1, 2, 3, 4, 5, 6, 7, 8, 9]\ntarget = 5\nresult = binary_search(arr, target)\nprint(result) # Output: 4\n```\n\nThe `binary_search` function takes in two arguments: `arr` and `target`. The `arr` argument is a list of sorted values, and the `target` argument is the value you're searching for in the list. The function returns the index of the target value in the list, or `-1` if the target value is not found.\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute, simply fork the repository, make your changes, and submit a pull request.\n\n## License\n\nThis package is licensed under the MIT License. See the `LICENSE` file for details.\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikha-code36%2Fbinary_search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshikha-code36%2Fbinary_search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikha-code36%2Fbinary_search/lists"}