PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Metaheuristic Python Packages

Python packages with the GitHub topic metaheuristic. Sorted by monthly downloads, with stars and forks.
N-Wouda
alns

Adaptive large neighbourhood search (and more!) in Python.

11K 657 152
arartawil
heurilab

HeuriLab — A Python library with 100metaheuristic optimization algorithms across 5 categories (swarm, evolutionary, physics, human, bio) for benchmarking and engineering problems.

504 1 0
JustinLovinger
optimal

A python metaheuristic optimization library. Currently supports Genetic Algorithms, Gravitational Search, Cross Entropy, and PBIL.

277 39 14
larose
optiverse

A Python library for evolving code and algorithms using Large Language Models (LLMs)

161 6 0
AutoPyloter
harmonix-opt

Harmony Search optimization library with dependent variable spaces, engineering catalogs (ACI rebar, steel sections, concrete grades), dynamic bandwidth, crash recovery, and CSV logging.

129 1 0
auto4opt
autooptlib

A library for automatically designing metaheuristic optimizers.

98 24 7
ICB-DCM
pyscat

Scatter search optimization in Python

76 2 1
gunnstein
lahc

Implementation of Late Acceptance Hill Climbing (lahc) algorithm

60 12 3
vijaygovindaraja
mspo

Multi-Strategy Parrot Optimizer — reference implementation of the metaheuristic introduced in Govindarajan (2025), Digital Health

54 0 0
AutoPyloter
pyhsds

Harmony Search optimization library with dependent variable spaces, engineering catalogs (ACI rebar, steel sections, concrete grades), dynamic bandwidth, crash recovery, and CSV logging.

54 1 0
giovcandido
swarming

Swarming is a Python3 library that features both parallel and serial implementation of the Particle Swarm Optimization (PSO) algorithm.

50 8 2
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology