library_setup
Photons comes with some helpful code to make it easier for you to make your scripts.
ColourParser
ColourParser.hsbk()
ColourParser.msg()
Effects
Effects.pulse()
Effects.sine()
Effects.half_sine()
Effects.triangle()
Effects.saw()
Effects.breathe()
make_hsbk()
make_hsbks()
Orientation
Orientation.FaceDown
Orientation.FaceUp
Orientation.RightSideUp
Orientation.RotatedLeft
Orientation.RotatedRight
Orientation.UpsideDown
nearest_orientation()
reorient()
reverse_orientation()
rotated_index()
async_as_background()
async_with_timeout()
wait_for_all_futures()
wait_for_first_future()
cancel_futures_and_wait()
reporter()
silent_reporter()
transfer_result()
fut_has_callback()
ResettableFuture
ChildOfFuture
ATicker
tick()
TaskHolder
TaskHolder.add()
TaskHolder.add_task()
TaskHolder.finish()
ResultStreamer
ResultStreamer.add_generator()
ResultStreamer.add_coroutine()
ResultStreamer.add_value()
ResultStreamer.add_task()
ResultStreamer.no_more_work()
ResultStreamer.finish()
ResultStreamer.Result
add_error()
a_temp_file()
nested_dict_retrieve()
memoized_property