This repository contains Python code with iReceptor's Stats API vs Facet count test.
The code in this repo has been tested with a Python virtual environment (see requirements.txt). The code was developed using Python 3.7.3 and PyCharm 2021.1 (Community Edition), Build #PC-211.6693.115, built on April 6, 2021. Runtime version: 11.0.10+9-b1341.35 x86_64
-
Ensure
pip
is installed in your computer. -
Clone this repository
git clone https://github.com/sfu-ireceptor/stats-api-ireceptor.git cd stats-api-ireceptor
-
Create a directory
stats-env
mkdir stats-env && cd stats-env
-
Run
python3 -m venv stats-envenv
-
Start the virtual environment
source stats-env/bin/activate
-
Install dependencies
cd .. pip install -r requirements.txt
-
To exit the environment
deactivate
Further reading on activating a virtual environment on various operating systems https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/