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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file psopt-0.1.2.tar.gz.

File metadata

  • Download URL: psopt-0.1.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for psopt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e7ef44fbcacd421691ed577b1afa2896793871f525fd3e9b7078e0629e89d44f
MD5 750fc5f1ac40a82819ae154c8fb1e607
BLAKE2b-256 ef14f96902b07a35f3e9ec74ed97e3639424e336c603296fbf9d137c78a2c018

See more details on using hashes here.

File details

Details for the file psopt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: psopt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for psopt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0efe8d57e0a7005a8c57675a339daa48db2895ddefa4983cf576be7a3a3569cd
MD5 453d3fcf41e7d496bb889a8f192c40da
BLAKE2b-256 e7741a854610bd54c284fb86e490085a33fcdaeb670f1f390420714fc42abcf4

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