{"id":16539249,"url":"https://github.com/devlucaslourenco/binarysearch","last_synced_at":"2026-06-07T17:32:21.859Z","repository":{"id":179584717,"uuid":"656939764","full_name":"DevLucasLourenco/BinarySearch","owner":"DevLucasLourenco","description":"PT-BR | Código para realização de Binary Search.","archived":false,"fork":false,"pushed_at":"2023-07-13T13:43:02.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T06:25:52.759Z","etag":null,"topics":["binary-search","classes-in-python","counter","find","instance","instancias","locate"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevLucasLourenco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-22T01:03:57.000Z","updated_at":"2023-06-25T19:17:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbdd33bd-187a-4840-a7d8-8e4916ace333","html_url":"https://github.com/DevLucasLourenco/BinarySearch","commit_stats":null,"previous_names":["devlucaslourenco/binarysearch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLucasLourenco%2FBinarySearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLucasLourenco%2FBinarySearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLucasLourenco%2FBinarySearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLucasLourenco%2FBinarySearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevLucasLourenco","download_url":"https://codeload.github.com/DevLucasLourenco/BinarySearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241766430,"owners_count":20016754,"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":["binary-search","classes-in-python","counter","find","instance","instancias","locate"],"created_at":"2024-10-11T18:48:27.194Z","updated_at":"2025-03-04T01:27:36.070Z","avatar_url":"https://github.com/DevLucasLourenco.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BinarySearch\n\nA classe `BinarySearch` é responsável por realizar buscas binárias em uma lista ou tupla ordenada.\n\n## Parâmetros\n\n- `referencial` (lista ou tupla): O iterável onde será procurada a informação.\n- `metodo` (string): Existem três opções disponíveis: 'find', 'count', 'locate'.\n\n## Métodos\n\n- `fetch(procura)`: Realiza a busca binária com o valor `procura` passado como parâmetro.\n\n## Uso\n\n```python\nlista = [1, 5, 5, 5, 15, 17, 20, 24, 67, 76]\napp = BinarySearch(referencial=lista, metodo='find')\n\nx = app.fetch(5)\nprint(x)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlucaslourenco%2Fbinarysearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlucaslourenco%2Fbinarysearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlucaslourenco%2Fbinarysearch/lists"}