{"id":16471880,"url":"https://github.com/abranhe/allalgorithms-python","last_synced_at":"2025-07-09T12:08:18.392Z","repository":{"id":56101821,"uuid":"152193886","full_name":"abranhe/allalgorithms-python","owner":"abranhe","description":"The All ▲lgorithms Python Library.","archived":false,"fork":false,"pushed_at":"2019-11-04T16:55:09.000Z","size":81,"stargazers_count":33,"open_issues_count":28,"forks_count":25,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T19:48:21.318Z","etag":null,"topics":["algorithms","allalgorithms","pip","pypi","python","python-library"],"latest_commit_sha":null,"homepage":"https://python.allalgorithms.com/","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/abranhe.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":".github/contributing.md","funding":null,"license":"license","code_of_conduct":".github/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-09T05:42:09.000Z","updated_at":"2023-05-16T23:08:00.000Z","dependencies_parsed_at":"2022-08-15T13:10:38.646Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/allalgorithms-python","commit_stats":null,"previous_names":["abranhe/python-lib","abrahamhba/allalgorithms-python","abranhe/allalgorithms-python","abrahamcalf/allalgorithms-python"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abranhe/allalgorithms-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fallalgorithms-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fallalgorithms-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fallalgorithms-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fallalgorithms-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/allalgorithms-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fallalgorithms-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264455988,"owners_count":23611065,"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","allalgorithms","pip","pypi","python","python-library"],"created_at":"2024-10-11T12:15:05.511Z","updated_at":"2025-07-09T12:08:18.372Z","avatar_url":"https://github.com/abranhe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003ca href=\"https://pypi.org/project/allalgorithms\"\u003e\u003cimg src=\"https://cdn.abranhe.com/projects/algorithms/logo.svg\" width=\"30%\"\u003e\n\t\u003c/a\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\tThe All ▲lgorithms Python library\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.org/abranhe/allalgorithms-python\"\u003e\u003cimg src=\"https://img.shields.io/travis/abranhe/allalgorithms-python.svg?logo=travis\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/abranhe/allalgorithms-python/blob/master/license\"\u003e\u003cimg src=\"https://img.shields.io/github/license/abranhe/allalgorithms-python.svg\" /\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://github.com/allalgorithms\"\u003e\u003cimg src=\"https://cdn.abranhe.com/projects/algorithms/badge.svg\"/\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://pypi.org/project/allalgorithms\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/allalgorithms.svg\"/\u003e\u003c/a\u003e\n\t\t\u003ca href='https://coveralls.io/github/abranhe/allalgorithms-python?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/abranhe/allalgorithms-python/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://python.allalgorithms.com\"\u003e\u003ccode\u003epython.allalgorithms.com\u003c/code\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Why?\n\n- Why not 😂\n- Clean and focused\n- Actively maintained\n- Because All Algorithms should be easy to use in Python\n\nRead the detailed documentation at [python.allalgorithms.com](https://python.allalgorithms.com) or see the [`docs`](https://github.com/abranhe/allalgorithms-python/blob/master/docs) directory on Github. See [Tree](#tree).\n\n**Want to contribute?** [GET STARTED HERE](https://github.com/abranhe/allalgorithms-python/tree/master/.github/contributing.md)\n\n## Install\n\n```\npip install allalgorithms\n```\n\n## Usage Example\n\n```py\nfrom allalgorithms.searches import binary_search\n\narr = [-2, 1, 2, 7, 10, 77]\n\nprint(binary_search(arr, 7))\n# -\u003e 3\n\nprint(binary_search(arr, 3))\n# -\u003e None\n```\n\n# Tree\n\n- ### Searches\n  - [Binary Search](https://python.allalgorithms.com/searches/binary-search)\n  - [Fibonacci Search](https://python.allalgorithms.com/searches/fibonacci-search)\n  - [Jump Search](https://python.allalgorithms.com/searches/jump-search)\n\n- ### Sorting\n  - [Bubble Sort](https://python.allalgorithms.com/sorting/bubble-sort)\n  - [Cocktail Shaker Sort](https://python.allalgorithms.com/sorting/cocktail-shaker-sort)\n  - [Insertion Sort](https://python.allalgorithms.com/sorting/insertion-sort)\n  - [Merge Sort](https://python.allalgorithms.com/sorting/merge-sort)\n  - [Pigeonhole Sort](https://python.allalgorithms.com/sorting/pigeonhole-sort)\n  - [Selection Sort](https://python.allalgorithms.com/sorting/selection-sort)\n  - [Stooge Sort](https://python.allalgorithms.com/sorting/stooge-sort)\n- ### String\n  - [Palindrome Check](https://python.allalgorithms.com/string/palindrom-check)\n\n# Related\n\n- [allalgorithms-js](https://github.com/abranhe/allalgorithms-js): All ▲lgorithms Javascript library\n\n# Maintainers\n\n|[![Carlos Abraham Logo][3]][4]|\n| :--------------------------: |\n| [Carlos Abraham][4]          |\n\n\n# License\n\n[MIT][5] License © [Carlos Abraham][4]\n\n\u003c!-------------------Markdown Images Links ----------------------------------\u003e\n[1]: https://cdn.abranhe.com/projects/algorithms/badge.svg\n[2]: https://github.com/abranhe/allalgorithms-python\n[3]: https://avatars3.githubusercontent.com/u/21347264?s=50\n[4]: https://github.com/abranhe\n[5]: https://github.com/abranhe/allalgorithms-python/blob/master/license\n\u003c!-------------------Markdown Images Links ----------------------------------\u003e\n\n\u003cdiv align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/abranhe/algorithms\"\u003e\n\t\t\u003cimg src=\"https://cdn.abranhe.com/projects/algorithms/logo.svg\" width=\"50px\"\u003e\n\t\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fallalgorithms-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Fallalgorithms-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fallalgorithms-python/lists"}