Installation

Quick install

Straph requires Python 3.6, 3.7, or 3.8. If you do not already have a Python environment configured on your computer, please see the instructions for installing the full scientific Python stack. We recommend using Anaconda.

Get Straph from the Python Wheel at pypl.

or install it with

pip install straph

and an attempt will be made to find and install an appropriate version that matches your operating system and Python version.

Installing from source

You can install the development version from source by downloading a source archive file (tar.gz or zip) or by checking out the source files from the GitHub source code repository.

git clone https://github.com/StraphX/Straph.git
cd straph
pip install .

Straph is a pure Python package; you don’t need a compiler to build or install it.

Requirements

  • numpy

  • matplotlib

  • networkx