Quickstart#

We are using an Anaconda distribution of Python 3.8.

Installation via PyPI#

Install cosasi with pip:

pip install cosasi

Installation via GitHub#

  1. Clone the repo from here.

  2. Install requirements. First, cd into the cosasi directory and run the following in your shell:

pip install -r requirements.txt

Standard Imports#

In general, we like to use the following standard imports:

import networkx as nx
import cosasi
import random
import numpy as np