Skip to main content

All Algorithms in Python

Project description





The All ▲lgorithms Python library

All Algorithms Badge Travis License pypi

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

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

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 or see the docs directory on Github. See Tree.

Install

pip install allalgorithms

Usage Example

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

Related

Maintainers

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allalgorithms-0.0.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

allalgorithms-0.0.0-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page