twhoekstra / criticality-and-cascades

Criticality and Cascades

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

criticality-and-cascades

Criticality and Cascades

Install

Prerequisites:

  • Git
  • Python
  1. Clone the repository
git clone https://github.com/twhoekstra/criticality-and-cascades.git
cd criticality-and-cascades
  1. Create a virtual environment (optional but recommended).

Using venv

python -m venv .venv

Activate the virtual environment. On Windows:

.venv\Scripts\activate.bat

For Unix:

source .venv/bin/activate
  1. Install the requirements
python -m pip install --upgrade pip
pip install -r requirements.txt

For more info, consult the Python Packaging User Guide

Using Anaconda

conda create --name criticality -c conda-forge --file=requirements.txt
conda activate criticality
  1. Open Jupyter Lab:
jupyter lab

Development

Please work in the dev branch of the repository.

git checkout dev

About

Criticality and Cascades

License:MIT License


Languages

Language:Jupyter Notebook 99.1%Language:Python 0.9%