2. Installation

2.1. Requirements

Supported Python versions are: 3.9 - 3.12.

Required runtime dependencies are listed below but will be automatically installed with pip when you install the package:

  • python-libsbml

  • sympy

  • scipy

  • numpy<2

Optional compatibility and visualization dependencies:

  • matplotlib

  • seaborn

  • biocrnpyler, for BioCRNpyler model construction workflows

  • control, for python-control NonlinearIOSystem adapters

  • pydmd, for DMD and DMDc projection workflows

2.2. Basic Installation

You can install AutoReduce using pip:

pip install autoreduce

To install AutoReduce with all optional compatibility packages, use:

pip install "autoreduce[all]"

Or install from source:

git clone https://github.com/ayush9pandey/AutoReduce.git
cd AutoReduce
pip install .

2.3. Development Installation

For development, install the package in editable mode with the dependencies needed for the task:

git clone https://github.com/ayush9pandey/AutoReduce.git
cd AutoReduce
pip install -e ".[dev]"

Use the feature extras explicitly when working on optional integrations:

pip install -e ".[all]"
pip install -e ".[bio]"
pip install -e ".[control]"
pip install -e ".[dmd]"

2.4. Verifying Installation

To verify your installation, you can run Python and import the package:

import autoreduce
print(autoreduce.__version__)

If you don’t see any errors, the installation was successful.