MCPcopy
hub / github.com/TheAlgorithms/Python

github.com/TheAlgorithms/Python @main sqlite

repository ↗ · DeepWiki ↗
4,221 symbols 11,869 edges 1,385 files 2,931 documented · 69%
README


The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter chat

GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education 📚

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

🚀 Getting Started

📋 Read through our Contribution Guidelines before you contribute.

🌐 Community Channels

We are on Discord and Gitter! Community channels are a great way for you to ask questions and get help. Please join us!

📜 List of Algorithms

See our directory for easier navigation and a better overview of the project.

Core symbols most depended-on inside this repo

append
called by 636
data_structures/queues/double_ended_queue.py
split
called by 158
sorts/external_sort.py
pop
called by 126
data_structures/stacks/stack.py
append
called by 110
machine_learning/automatic_differentiation.py
add
called by 97
other/lru_cache.py
get
called by 89
other/lru_cache.py
count
called by 59
data_structures/binary_tree/avl_tree.py
insert
called by 46
data_structures/binary_tree/red_black_tree.py

Shape

Function 2,421
Method 1,488
Class 310
Route 2

Languages

Python100%

Modules by API surface

digital_image_processing/index_calculation.py44 symbols
data_structures/binary_tree/red_black_tree.py41 symbols
machine_learning/sequential_minimum_optimization.py35 symbols
data_structures/binary_tree/binary_search_tree_recursive.py34 symbols
data_structures/binary_tree/avl_tree.py34 symbols
linear_algebra/src/lib.py32 symbols
graphs/graph_adjacency_matrix.py31 symbols
graphs/graph_adjacency_list.py31 symbols
matrix/matrix_class.py28 symbols
graphs/directed_and_undirected_weighted_graph.py28 symbols
machine_learning/automatic_differentiation.py26 symbols
data_structures/linked_list/skip_list.py26 symbols

Dependencies from manifests, versioned

beautifulsoup44.12.3 · 1×
cython3.1.2 · 1×
fake-useragent1.5.1 · 1×
httpx0.28.1 · 1×
imageio2.36.1 · 1×
keras3.7 · 1×
lxml6 · 1×
matplotlib3.9.3 · 1×
numpy2.1.3 · 1×
opencv-python4.10.0.84 · 1×
pandas2.2.3 · 1×
pillow11.3 · 1×

For agents

$ claude mcp add Python \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact