Installation Guide for cheersafe package#
This guide will help you install the cheersafe package on your system.
Prerequisites#
Ensure that you have Python and pip installed on your system. You can check this by running the following commands in your terminal:
If you do not have Python or pip installed, please install them first.
Installation Steps#
- Clone the
cheersaferepository to your local machine:
- Navigate to the cloned repository:
- Install the package using pip:
Geospatial Dependencies#
The exposure and loss-estimation modules read GeoParquet, shapefile and GeoPackage layers through geopandas, shapely and pyarrow. They are core dependencies, so pip install . installs them. On platforms without binary wheels, install them from conda-forge first and then run pip install .:
Verify with:
Optional Dependencies#
The package comes with optional dependencies for development and documentation:
Development Dependencies#
To install development tools (pytest, pytest-cov, tox):
Documentation Dependencies#
To install documentation tools (mkdocs and related packages):
Jupyter Dependencies#
To install Jupyter kernel support:
Install All Optional Dependencies#
To install all optional dependencies at once:
That's it! You have successfully installed the cheersafe package on your system.