Skip to main content

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

Metadata

Release files for swarmlib 0.14.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmlib 0.14.1
File Size Uploaded
swarmlib-0.14.1.tar.gz 27.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmlib 0.14.1
File Interpreter ABI Platform
swarmlib-0.14.1-py3-none-any.whl Python 3 none any Details

Total release size: 73.5 kB

Release files / swarmlib-0.14.1.tar.gz

Download URL swarmlib-0.14.1.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b3fa798c2d730bff6ecff96b3078493bd2c91a52b6e83105db6f8461735a575b
BLAKE2b-256 checksum
How to use checksums
0964513760182805c172758150ef96e49bfacf0027ce099852ca4ac8b46555f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release files / swarmlib-0.14.1-py3-none-any.whl

Download URL swarmlib-0.14.1-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d3afa1a79b5c7121a3aab38de2c261beeeddb133692f8c67dfebaa0812c0572
BLAKE2b-256 checksum
How to use checksums
0a5259e31afae40db2c0b950f33dd126fb1ef9c43ff970c81e8d9fc7be30f0fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.14.1 This release

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page