Usage

Environment

We suggest using perturbopy inside a Python virtual environment created with venv or anaconda. We will call this environment perturbopy.

Here is an example to create and activate this environment with anaconda:

$ conda create -n perturbopy python=3.10
$ conda activate perturbopy
(perturbopy) $ python --version
Python 3.10.0

Installation

To use perturbopy, you can chose on the following ways:

  1. From PyPI (default option)

You can install perturbopy from PyPI using pip:

(perturbopy) $ pip install perturbopy
  1. From the source code

First clone it from the GitHub repository:

(perturbopy) $ git clone https://github.com/perturbo-code/perturbopy.git

Then, navigate to the perturbopy folder and install it with pip:

(perturbopy) $ pip install .