Installation

Setup Python Environment

TCRA depends on a number of packages. For more information on Python package dependencies, see Dependencies.

Installation

To install TCRA, run this command in your terminal:

$ pip install tcra

Importing TCRA

Once installed, you can import TCRA into your Python scripts or Jupyter notebooks. Here’s a simple example. This will allow user to use the tcra functions and classes in your code:

import tcra

This is the preferred method to install tcra, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From Sources (for developers)

The sources for TCRA can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/rxm562/TCRA

Dependencies

Requirements for TCRA include Python (3.5, 3.6, or 3.7) along with other Python packages as listed below.

The following Python packages are required:

  1. Numpy : the fundamental package needed for scientific computing with Python included in Anaconda distribution http://www.numpy.org/

  2. Matplotlib : Python 2D plotting library included in Anaconda distribution http://matplotlib.org/

  3. Pandas : pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language. https://pandas.pydata.org/

  4. Scipy : SciPy is a free and open-source Python library used for scientific computing and technical computing. https://scipy.org/

  5. Folium : Folium builds on the data wrangling strengths of the Python ecosystem and the mapping strengths of the Leaflet.js library. https://python-visualization.github.io/folium/latest/