{"id":19889775,"url":"https://github.com/haaleo/swarmlib","last_synced_at":"2025-10-25T10:07:44.205Z","repository":{"id":40643777,"uuid":"156103610","full_name":"HaaLeo/swarmlib","owner":"HaaLeo","description":"This repository implements several swarm optimization algorithms and visualizes them. Implemented algorithms: Particle Swarm Optimization (PSO), Firefly Algorithm (FA), Cuckoo Search (CS), Ant Colony Optimization (ACO), Artificial Bee Colony (ABC), Grey Wolf Optimizer (GWO) and Whale Optimization Algorithm (WOA)","archived":false,"fork":false,"pushed_at":"2020-12-16T20:47:50.000Z","size":201738,"stargazers_count":527,"open_issues_count":12,"forks_count":111,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-03T17:13:09.890Z","etag":null,"topics":["aco","ant-colony-optimization","artificial-bee-colony","cuckoo-search","firefly-algorithm","grey-wolf-optimizer","gwo","heuristic-optimization","heuristic-search-algorithms","levy-walks","optimization-algorithms","particle-swarm-optimization","pso","pypi","swarm","traveling-salesman-problem","tsp","tsplib","tsplib95","whale-optimization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HaaLeo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":"HaaLeo","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/LeoHanisch"]}},"created_at":"2018-11-04T16:47:18.000Z","updated_at":"2025-04-03T08:52:19.000Z","dependencies_parsed_at":"2022-07-20T13:48:09.358Z","dependency_job_id":null,"html_url":"https://github.com/HaaLeo/swarmlib","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaaLeo%2Fswarmlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaaLeo%2Fswarmlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaaLeo%2Fswarmlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaaLeo%2Fswarmlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaaLeo","download_url":"https://codeload.github.com/HaaLeo/swarmlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590924,"owners_count":21129915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aco","ant-colony-optimization","artificial-bee-colony","cuckoo-search","firefly-algorithm","grey-wolf-optimizer","gwo","heuristic-optimization","heuristic-search-algorithms","levy-walks","optimization-algorithms","particle-swarm-optimization","pso","pypi","swarm","traveling-salesman-problem","tsp","tsplib","tsplib95","whale-optimization"],"created_at":"2024-11-12T18:11:43.797Z","updated_at":"2025-10-25T10:07:39.180Z","avatar_url":"https://github.com/HaaLeo.png","language":"Python","funding_links":["https://github.com/sponsors/HaaLeo","https://paypal.me/LeoHanisch","https://www.paypal.me/LeoHanisch/3eur"],"categories":[],"sub_categories":[],"readme":"# swarmlib\r\n\r\n[![Pypi](https://img.shields.io/pypi/v/swarmlib.svg?style=flat-square)](https://pypi.python.org/pypi/swarmlib) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/swarmlib.svg?style=flat-square)](https://pypi.python.org/pypi/swarmlib) [![Pypi - Downloads](https://img.shields.io/badge/dynamic/json?style=flat-square\u0026color=green\u0026label=downloads\u0026query=%24.total_downloads\u0026url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Fswarmlib)](https://pepy.tech/project/swarmlib) [![Stars](https://img.shields.io/github/stars/HaaLeo/swarmlib.svg?label=stars\u0026logo=github\u0026style=flat-square)](https://github.com/HaaLeo/swarmlib/stargazers)  \r\n[![PyPI - License](https://img.shields.io/pypi/l/swarmlib.svg?style=flat-square)](https://raw.githubusercontent.com/HaaLeo/swarmlib/master/LICENSE.txt) [![Lint, Test, Bundle and Deploy](https://img.shields.io/github/workflow/status/HaaLeo/swarmlib/Lint%2C%20Test%2C%20Bundle%20and%20Deploy?label=Lint%2C%20Test%2C%20Bundle%20and%20Deploy\u0026style=flat-square)](https://github.com/HaaLeo/swarmlib/actions?query=workflow%3A%22Lint%2C+Test%2C+Bundle+and+Deploy%22) [![Codecov](https://img.shields.io/codecov/c/github/HaaLeo/swarmlib?style=flat-square)](https://codecov.io/github/HaaLeo/swarmlib)  \r\n[![Chat on Gitter](https://img.shields.io/badge/-chat%20on%20gitter-753a88.svg?logo=gitter\u0026style=flat-square\u0026labelColor=grey)](https://gitter.im/HaaLeo/swarmlib) [![Donate](https://img.shields.io/badge/☕️-Buy%20Me%20a%20Coffee-blue.svg?\u0026style=flat-square)](https://www.paypal.me/LeoHanisch/3eur) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)  \r\n\r\n\u003cp align=\"middle\"\u003e\r\n  \u003cimg src=\"https://raw.githubusercontent.com/HaaLeo/swarmlib/master/doc/light_mode.png\" width=\"49%\" /\u003e\r\n  \u003cimg src=\"https://raw.githubusercontent.com/HaaLeo/swarmlib/master/doc/dark_mode.png\" width=\"49%\" /\u003e \r\n\u003c/p\u003e\r\n\r\n## Description\r\n\r\nThis repository implements several swarm optimization algorithms and visualizes their (intermediate) solutions.\r\nTo run the algorithms one can either use the CLI (recommended) or the API.\r\n\r\nFor a list of all available algorithms and their detailed description [checkout the wiki](https://github.com/HaaLeo/swarmlib/wiki).\r\n\r\n## Installation\r\n\r\nYou can install the package with `pip` from [pypi](https://pypi.org/project/swarmlib).\r\nInstalling the library in a virtual environment is recommended:\r\n\r\n```zsh\r\n# Create virtual environment\r\npython3 -m venv .venv\r\nsource .venv/bin/activate\r\n\r\n# Install the latest version of swarmlib\r\npip install --upgrade swarmlib\r\n\r\n# Verify installation\r\nswarm --version\r\n```\r\n\r\n## Usage\r\n\r\nTo print all available algorithms:\r\n\r\n```\r\nswarm --help\r\n```\r\n\r\n## Contribution\r\n\r\nIf you found a bug or are missing a feature do not hesitate to [file an issue](https://github.com/HaaLeo/swarmlib/issues/new/choose) or to ask questions on [gitter](https://gitter.im/HaaLeo/swarmlib).\r\nFor a more detailed guide checkout the [CONTRIBUTING.md](https://github.com/HaaLeo/swarmlib/blob/master/CONTRIBUTING.md#how-to-contribute) file.\r\n\r\nPull Requests are welcome!\r\n\r\n## Wiki\r\n\r\nSwarmlib's wiki includes all of the documentation and more details to each algorithm.\r\nIt can be found [here](https://github.com/HaaLeo/swarmlib/wiki).\r\n\r\n## Support\r\nWhen you like this package make sure to [star the repository](https://github.com/HaaLeo/swarmlib/stargazers).\r\nI am always looking for new ideas and feedback.\r\n\r\nIn addition, it is possible to sponsor this project via [PayPal](https://www.paypal.me/LeoHanisch/3eur) or [GitHub sponsors](https://github.com/sponsors/HaaLeo).\r\n\r\n## Example\r\n\r\n![Particle Swarm Optimization](https://raw.githubusercontent.com/HaaLeo/swarmlib/master/doc/example.gif)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaaleo%2Fswarmlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaaleo%2Fswarmlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaaleo%2Fswarmlib/lists"}