Installation

The package is distributed via pypi. Installing from this source will provide all dependencies.

$ pip install structuralglass

When reproducibility is a concern, we recommend installing this library within a virtual environment and creating a requirements file that sets the dependencies. For example (on Linux):

  1. Create a virtual environment:

$ python -m venv .env
  1. Activate the virtual environment:

$ source .env/bin/activate
  1. Create a requirements file:

# requirements.txt
pint==0.17
scipy==1.7.0
numpy==1.21.1
structuralglass==0.02
  1. Install using the requirements file:

$ pip install -r requirements.txt