Installation
Installation¶
Stable release¶
This is the preferred method to install toshi-hazard-post, as it will always install the most recent stable release.
To install toshi-hazard-post, run this command in your terminal:
$ pip install toshi-hazard-post
To access realization and/or aggregation databases stored in AWS S3 cloud install with the aws
option
$ pip install 'toshi-hazard-post[aws]'
If you don't have pip installed, this Python installation guide can guide you through the process.
From source¶
The source for toshi-hazard-post can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone https://github.com/GNS-Science/toshi-hazard-post.git
Or download the tarball:
$ curl -OJL https://github.com/GNS-Science/toshi-hazard-post/tarball/main
Once you have a copy of the source, you can install it with:
$ pip install .