Installation#

Install from PyPI#

pip install gaussquad

Install from GitHub#

pip install git+https://github.com/thatmariia/gaussquad.git

Requirements: Python 3.13 or newer, numpy, scipy


Development & docs#

If you plan to contribute, test, or build docs:

  1. Create a virtual environment

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Clone the repository:

git clone https://github.com/thatmariia/gaussquad.git
cd gaussquad
  1. Install in editable mode with development and docs dependencies

pip install -e ".[dev,docs]"

Run tests#

pytest

Code style checks#

black --check src/
flake8 src/

Build docs#

cd docs
make html

View docs#

open docs/build/html/index.html  # On macOS
# or:
python -m http.server --directory docs/build/html

Then open your browser and go to http://localhost:8000/.