Installation

Before using TMMax, you need to install it on your system. This section provides detailed instructions for installing TMMax using two common approaches: via PyPI (recommended for simplicity) or by cloning the repository and installing locally (recommended for development or contributing).

Installing from the Source (Local Installation)

If you want to work on the TMMax source code, contribute, or use the latest development version, you can clone the repository and install it locally. This method allows you to directly modify the code and immediately test changes.

  1. Clone the TMMax repository:

git clone https://github.com/bahremsd/tmmax.git
  1. Navigate into the cloned repository:

cd tmmax
  1. (Optional) Create and activate a Python virtual environment. If you do not already have a virtual environment, create one using the following command:

python3 -m venv venv
source venv/bin/activate   # On Windows use: venv\Scripts\activate
  1. Install TMMax and its dependencies in editable mode:

pip install -e .
  1. Verify the installation:

import tmmax
print(tmmax.__version__)

Notes

  • Using a virtual environment is recommended to avoid conflicts with other Python packages.

  • The PyPI installation is ideal for general use, while local installation is more suitable for developers or users who need the latest updates.

  • Ensure that your Python version is compatible with TMMax (Python 3.10+ is recommended).

Once installed, you can start exploring TMMax functionalities.