Skip to main content

spotPython - Sequential Parameter Optimization in Python

Project description

spotPython

Sequential Parameter Optimization in Python

Development

Styleguide

Follow the Google Python Style Guide from https://google.github.io/styleguide/pyguide.html.

Pre commit checks

Before you commit your code, please check that it is "clean". To do so, first run black from the projects root directory:

$ black .

Next, check if flake8 shows any errors:

$ flake8

Fix any shown errors before you commit.

Installation

pip install spotPython

Python

  • Mac Users: Install brew

    • brew install python and brew install graphviz etc.
  • Generate and activate a virtual environment, see venv, e.g.,

    • cd ~; python3 -m venv .venv
    • source ~/.venv/bin/activate

Python mkdocs

  • python -m pip install mkdocs mkdocs-gen-files mkdocs-literate-nav mkdocs-section-index mkdocs-material
  • mkdocs build
  • mkdocs serve
  • http://127.0.0.1:8000/

Optimizing/Profiling Code

https://scipy-lectures.org/advanced/optimizing/index.html

Editor/IDE

Package Installation

Configuration Files

Installation

  • Perform the following steps to install the package:
    • Make sure you have the latest version of PyPA’s build installed:
      • python3 -m pip install --upgrade build
    • Start the package building process via: python3 -m build
    • This command should output a lot of text and once completed should generate two files in the dist directory.
    • You can use the local spotPython*.tar.gz file from the dist folder for your package installation with pip, e.g.;
    • python3 -m pip install ./dist/spotPython-0.0.1.tar.gz

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotPython-0.0.13.tar.gz (3.9 MB view hashes)

Uploaded Source

Built Distribution

spotPython-0.0.13-py3-none-any.whl (42.5 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