Prerequisites

Most of the how-to guides require to:

  • Create a python virtual environment

  • Install the Bigdata.com SDK bigdata-client

  • Initialise environment variables

Note

It’s recommended to use python 3.11.

Create a python virtual environment

Open the terminal and create a virtual environment with the following command:

$ python3 -m venv bigdata_venv

Activate the virtual environment, every time you want to use it:

$ source ./bigdata_venv/bin/activate

Install the Bigdata.com SDK bigdata-client

Let’s install bigdata-client within the environment bigdata_venv.

(bigdata_venv) $ pip install bigdata-client

Initialise environment variables

Export the Bigdata.com credentials, so the Bigdata class can use it

export BIGDATA_USERNAME=<YOUR_USERNAME>
export BIGDATA_PASSWORD=<YOUR_PASSWORD>

Export a maximum number of parallel threads:

export BIGDATA_MAX_PARALLEL_REQUESTS=50