All Algorithms implemented in Python the-algorithms.com/
Go to file
Maxim Smolskiy f2246ce7fd
Enable ruff ICN001 rule (#11329)
* Enable ruff ICN001 rule

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-28 18:03:23 +00:00
.devcontainer Upgrade our Devcontainer to Python 3.12 on Debian bookworm (#9580) 2023-10-03 23:04:59 +13:00
.github adding a proper fractions algorithm (#11224) 2024-03-20 14:33:40 +01:00
.vscode Create a Simultaneous Equation Solver Algorithm (#8773) 2023-06-02 07:14:25 +02:00
audio_filters Use compiled black as the pre-commit formatter (#11247) 2024-01-16 09:39:54 +01:00
backtracking Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
bit_manipulation Typo deicmal -> decimal (#11169) 2023-11-25 12:25:46 +01:00
blockchain Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
boolean_algebra [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
cellular_automata Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
ciphers Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
compression [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
computer_vision [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
conversions [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
data_structures Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
digital_image_processing [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
divide_and_conquer Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
dynamic_programming Enable ruff N999 rule (#11331) 2024-03-28 18:26:41 +01:00
electronics [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
file_transfer Update receive_file.py (#8541) 2023-03-31 16:08:13 +02:00
financial [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
fractals Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
fuzzy_logic Add FuzzySet Class for Triangular Fuzzy Sets (#11036) 2023-10-28 20:32:12 +02:00
genetic_algorithm Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
geodesy pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
geometry adding a geometry module (#11138) 2023-11-24 19:00:21 +01:00
graphics Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
graphs Enable ruff N999 rule (#11331) 2024-03-28 18:26:41 +01:00
greedy_methods [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
hashes [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
knapsack [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
linear_algebra [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
linear_programming [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
machine_learning Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
maths Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
matrix Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
networking_flow [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
neural_network Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
other Enable ruff DTZ005 rule (#11327) 2024-03-25 21:54:11 +01:00
physics Enable ruff ARG001 rule (#11321) 2024-03-20 15:00:17 +01:00
project_euler Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
quantum Upgrade to Python 3.12 (#9576) 2023-10-03 14:47:10 +05:30
scheduling Enable ruff ARG001 rule (#11321) 2024-03-20 15:00:17 +01:00
scripts Fix ignore venv in build_directory_md.py (#11156) 2023-11-16 17:00:48 +06:00
searches Enable ruff PLW0120 rule (#11330) 2024-03-28 18:28:54 +01:00
sorts [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
strings Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
web_programming Enable ruff DTZ005 rule (#11327) 2024-03-25 21:54:11 +01:00
.gitattributes Create .gitattributes for Cross OS compatibility (#3410) 2020-10-17 07:25:25 +02:00
.gitignore chore: update .gitignore (#6263) 2022-07-23 07:56:59 +05:30
.gitpod.yml Change gitpod configuration for python3. (#1827) 2020-04-07 12:20:08 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#11328) 2024-03-25 20:21:21 +01:00
CONTRIBUTING.md Fix Typo & Grammatical Errors (#10980) 2023-10-26 14:51:28 +02:00
DIRECTORY.md Enable ruff N999 rule (#11331) 2024-03-28 18:26:41 +01:00
LICENSE.md LICENSE: Year change (#5920) 2022-03-16 23:40:48 +08:00
pyproject.toml Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
README.md chore: use newest Discord invite link (#8696) 2023-07-30 18:15:30 -07:00
requirements.txt Reenable files when TensorFlow supports the current Python (#11318) 2024-03-12 09:35:49 +01:00

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.