Installation

This document provides instructions for installing the thompson package.

Requirements

The thompson package requires the following dependencies:

  • Python 3.7 or higher

  • numpy

  • pandas

  • matplotlib

  • requests

Pypi Installation

The easiest way to install thompson is via PyPI:

pip install thompson

To force an update to the latest version:

pip install -U thompson

Github Installation

To install the latest development version directly from GitHub:

pip install git+https://github.com/erdogant/thompson.git

Development Installation

To install thompson in development mode:

  1. Clone the repository:

git clone https://github.com/erdogant/thompson.git
cd thompson
  1. Install in editable mode:

pip install -e .

Uninstalling

To remove the thompson package:

pip uninstall thompson

Note that this will only remove the thompson package itself. If you want to remove all dependencies as well, you’ll need to uninstall them separately.

Verifying Installation

To verify that thompson is installed correctly, you can run:

import thompson as th
print(th.__version__)

This should print the version number of your thompson installation.