Skip to main content

A particle swarm optimizer for general use

Project description

PSOpt

Build Status Documentation Status codecov Maintainability Codacy Badge

A particle swarm optimizer for combinatorial optimization

Project Information

psopt is released under the MIT, its documentation lives at Read the Docs, the code on GitHub, and the latest release on PyPI.

If you'd like to contribute to psopt you're most welcome. We've created a little guide to get you started!

Installation

Python version support

Officially Python 3.6 and above

Installing from PyPI

PSOpt can be installed via pip from PyPI

pip install psopt

Installing from source

Clone the repository via:

git clone https://github.com/artur-deluca/psopt/ --depth=1

Activate your virtual environment and run:

python setup.py install
# or alternatively
pip install -e .

If you wish to install the development dependencies, run:

python setup.py build
# or alternatively
pip install -e.[all]

Running the test suite

To run the tests written for psopt, make sure you have pytest installed in your venv. Additionally, if you wish to run coverage analysis as well, make sure to have pytest-cov installed as well.

# to simply execute the tests run:
pytest
# to run coverage as well run:
pytest --cov=psopt
# or alternatively:
make test

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

psopt-0.1.2.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

psopt-0.1.2-py3-none-any.whl (22.2 kB view hashes)

Uploaded Python 3

Supported by

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