Skip to main content

Implementation and visualization of different swarm optimization algorithms.

Project description

swarmlib

Pypi PyPI - Python Version Pypi - Downloads Stars
PyPI - License Lint, Test, Bundle and Deploy Codecov
Chat on Gitter Donate PRs Welcome

Description

This repository implements several swarm optimization algorithms and visualizes their (intermediate) solutions. To run the algorithms one can either use the CLI (recommended) or the API.

For a list of all available algorithms and their detailed description checkout the wiki.

Installation

You can install the package with pip from pypi. Installing the library in a virtual environment is recommended:

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install the latest version of swarmlib
pip install --upgrade swarmlib

# Verify installation
swarm --version

Usage

To print all available algorithms:

swarm --help

Contribution

If you found a bug or are missing a feature do not hesitate to file an issue or to ask questions on gitter. For a more detailed guide checkout the CONTRIBUTING.md file.

Pull Requests are welcome!

Wiki

Swarmlib's wiki includes all of the documentation and more details to each algorithm. It can be found here.

Support

When you like this package make sure to star the repository. I am always looking for new ideas and feedback.

In addition, it is possible to sponsor this project via PayPal or GitHub sponsors.

Example

Particle Swarm Optimization

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

swarmlib-0.14.0.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmlib-0.14.0-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

Details for the file swarmlib-0.14.0.tar.gz.

File metadata

  • Download URL: swarmlib-0.14.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for swarmlib-0.14.0.tar.gz
Algorithm Hash digest
SHA256 60517c546def183ec021293da09fe1bd4c6bf5c70f6e4360a86a7f7c22735f4f
MD5 13258aa748a53388b95f614f51e7935f
BLAKE2b-256 fe42c9e836b70fc436c4960eee3bbbe9e611ac7c5d296f99047682b2a5cc5871

See more details on using hashes here.

File details

Details for the file swarmlib-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: swarmlib-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 45.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for swarmlib-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64d65a6e4ea4a6e4938f6925ace0a9837d5301b84afa429ecc74724da33de4b9
MD5 dd04cf0e03fb48dbbd6305f9be675529
BLAKE2b-256 504200ac330ef116b5f640d95d96936f83a5596a413630543ba147cf63f5544e

See more details on using hashes here.

Supported by

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