Installation¶
Setting Up a Python Environment ¶
This package depends on Python>=3.8 and <=3.10. To create an environment containing the appropriate Python version and a built-in pip
, there are two preferred ways:
-
First option is to use conda:
-
The other option is using venv
On macOS/Linux, activate the environment:
On Windows Powershell:
Installing T3CO-Go Python Package¶
T3CO-Go can be installed from two sources: PyPI or GitHub
Installation Source #1: PyPI¶
From within the Python environment, navigate to the parent directory containing the T3CO repository (cd T3CO_Go
) and run:
This installs the tool from PyPI and copies T3CO demo input files to the current folder
Installation Source #2: From a git clone of the repository¶
T3CO-Go can also be installed from a clone of the GitHub repository.
First, clone the repository from GitHub from your desired directory (eg., /Users/Projects/):
This creates a git compliant folder 'T3CO_Go' (i.e., a '/Users/Projects/T3CO_Go' folder)
From within the Python environment, navigate to the parent directory containing the T3CO repository (cd T3CO_Go
) and run this command:
This installs the tool from the repo clone and copies T3CO demo input files to the same folder
Check that the right version of t3co_go is installed in your environment:
If there are updates or new releases to t3co_go that don't show in the local version, use a git pull
command the latest version from the main
branch on the repo:
Starting a T3CO-Go instance¶
After installing T3CO_Go within a Python environment using one of the two sources, run this command:
This will open a web browser tab with T3CO prepared to run on your local machine in the background.
Running your first analysis¶
To learn about the tool and run your first t3co_go analysis, proceed to the Quick Start Guide