Install the python package:
pip install -r requirements.txtAfter setting up your project, grab your API_KEY and Host in the settings page and export the variables:
export POSTHOG_HOST='http://localhost'
export POSTHOG_API_KEY='phc_msCYJBNCmXfJd2sIPgCxuOLFOlTxfHYUD04GybrdkAc'Upload the data:
python upload_data.py