Connect HUE from external Python

I’m trying to learn working on HUE, for which I want to connect to your demo hue server from python (External).

I’m using following command to connect ‘demo.gethue.com’ using following command (hue_test.py):

from pyhive import hive
conn = hive.connect(host=‘https://demo.gethue.com/hue/accounts/login?next=/’,port=,username=‘demo’,password=‘demo’,auth='CUSTOM’)

Here I’m required port number to connect, can you please tell me what would be ‘Port’ number that I can use to connect.

If there is another way to connect/command that I can use please let me know.

Here you could only use the Hue shell https://docs.gethue.com/developer/api/#python, there is no direct access enabled to the DB engines.