Installation
Requirements
Python 3.10 or higher
NumPy
Pandas
Matplotlib
SciPy
Numba
Install from PyPI
Install the package directly from PyPI to use it in your own projects:
pip install parallel-hill-climber
This is the recommended method for using Hill Climber in your code.
Development installation
To explore the examples, modify the code, or contribute:
Option 1: GitHub Codespaces
No local setup required:
Fork the repository on GitHub
Open in GitHub Codespaces
The development environment will be configured automatically
Documentation will be built and served at http://localhost:8000 automatically
The monitoring dashboard will start at http://localhost:8501 automatically
Option 2: Local development
Clone and install locally:
Clone or fork the repository:
git clone https://github.com/gperdrizet/hill_climber.git cd hill_climber
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Build documentation (optional):
cd docs make html
View docs by opening docs/build/html/index.html in a browser or serve locally with: python -m http.server 8000 –directory build/html.
Run tests to verify installation:
# Run all tests python -m pytest tests/ # Run specific test file python -m pytest tests/test_hill_climber.py
All tests should pass.
Verifying installation
Test that the installation was successful:
import hill_climber
print(f"Hill Climber {hill_climber.__version__} successfully installed!")