To setup download flicker.py somewhere and in that folder:
# Using a version of python greater or equal to 3.6
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install lifx-photons-core
$ python flicker.py
To run against all devices on the network with default options: