lolcatt.utils package

Submodules

lolcatt.utils.utils module

lolcatt.utils.utils.marquee(s, max_len, step_size)[source]

Yields a string that is max_len characters long, and shifts the string by step_size each time.

Parameters:
  • s (str) – The string to be shifted

  • max_len (int) – The maximum length of the string

  • step_size (int) – The number of characters to shift the string by

Return type:

str

Returns:

A string that is max_len characters long and appropriately shifted

lolcatt.utils.utils.scan()[source]

Scans the network for Chromecast devices and prints the results.

lolcatt.utils.utils.write_initial_config(p)[source]

Module contents