Installation & Updating

Installation

First, obtain Python3 (tested on V3.7). If you haven’t used python before, we recomend installing it through anaconda.

anaconda3.

All of the You Tube examples shown here use Jupyter Lab, which is an easy-friendly editor that will be installed along with Anaconda.

PySulfSat can be installed using pip in one line. If you are using a terminal, enter:

pip install PySulfSat

If you are using Jupyter Notebooks or Jupyter Lab, you can also install it by entering the following code into a notebook cell (note the !):

!pip install PySulfSat

You then need to import PySulfSat into the script you are running code in. In all the examples, we import PySulfSat as ss:

import PySulfSat as ss

This means any time you want to call a function from PySulfSat, you do ss.function_name.

Updating

To upgrade to the most recent version of PySulfSat, type the following into terminal:

pip install PySulfSat --upgrade

Or in your Jupyter environment:

!pip install PySulfSat --upgrade

For maximum reproducability, you should state which version of PySulfSat you are using. If you have imported PySulfSat as ss, you can find this using:

ss.__version__