semvec/pypi-packages huggingface dataset:
allalgorithms 0.0.0
All Algorithms in Python
License: MIT

<div align="center">
	<a href="https://pypi.org/project/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="30%"></a>
	<br>
	<br>
	<br>
	<br>
	The All ▲lgorithms Python library
	<br>
	<br>
</p>

[![All Algorithms Badge][1]][2]
[![Travis][travis-img]][travis-link]
[![License][license-img]][license-link]
[![pypi][pypi]][pypi-link]

	<br>
	<br>
	<br>
	<br>

	[`python.allalgorithms.com`](https://python.allalgorithms.com)

</div>

# Why?

- Why not ��
- Clean and focused
- Actively maintained
- Because All Algorithms should easy to use in Python

Read the detailed documentation at [python.allalgorithms.com](https://python.allalgorithms.com) or see the [`docs`](https://github.com/abranhe/python-lib/blob/master/docs) directory on Github. See [Tree](#tree).

## Install

```
pip install allalgorithms
```

## Usage Example

```py
from allalgorithms.searches import binary_search

arr = [-2, 1, 2, 7, 10, 77]

print(binary_search(arr, 7))
# -> 3

print(binary_search(arr, 3))
# -> None
```

# Tree

- Searches
  - [Binary Search](binary_search)
- Sorting
	 - [Merge Sort](merge_sort)


# Related

- [javascript-lib](https://github.com/abranhe/javascript-lib): All ▲lgorithms Javascript library

# Maintainers

|[![Carlos Abraham Logo][3]][4]|
| :--------------------------: |
| [Carlos Abraham][4]          |


# License

[MIT][5] License © [Carlos Abraham][4]

<!-------------------Markdown Images Links ---------------------------------->
[1]: https://cdn.abranhe.com/projects/algorithms/badge.svg
[2]: https://github.com/abranhe/python-lib
[3]: https://avatars3.githubusercontent.com/u/21347264?s=50
[4]: https://github.com/abranhe
[5]: https://github.com/abranhe/python-lib/blob/master/LICENSE
[travis-link]: https://travis-ci.org/abranhe/python-lib
[travis-img]: https://img.shields.io/travis/abranhe/python-lib.svg?logo=travis
[license-link]: https://github.com/abranhe/python-lib/blob/master/LICENSE
[license-img]: https://img.shields.io/github/license/abranhe/python-lib.svg
[pypi]: https://img.shields.io/pypi/v/allalgorithms.svg
[pypi-link]: https://pypi.org/project/allalgorithms
<!-------------------Markdown Images Links ---------------------------------->

<div align="center">
	<a href="https://github.com/abranhe/algorithms">
		<img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="50px">
	</a>
  <br>
</div>