PSOpt
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
Metadata
Release files for psopt 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psopt-0.1.2.tar.gz | 15.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psopt-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / psopt-0.1.2.tar.gz
| Download URL | psopt-0.1.2.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7ef44fbcacd421691ed577b1afa2896793871f525fd3e9b7078e0629e89d44f
|
|
BLAKE2b-256 checksum How to use checksums |
ef14f96902b07a35f3e9ec74ed97e3639424e336c603296fbf9d137c78a2c018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / psopt-0.1.2-py3-none-any.whl
| Download URL | psopt-0.1.2-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0efe8d57e0a7005a8c57675a339daa48db2895ddefa4983cf576be7a3a3569cd
|
|
BLAKE2b-256 checksum How to use checksums |
e7741a854610bd54c284fb86e490085a33fcdaeb670f1f390420714fc42abcf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|