Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Latest commit

 

History

History
64 lines (37 loc) · 1.3 KB

README.md

File metadata and controls

64 lines (37 loc) · 1.3 KB

word_clock

sample image for plugin paperpi.plugins.word_clock

 
PLUGIN: word_clock v:0.1.1

 
FUNCTION: update_function
update function for word_clock provides time as text
    
    This plugin provides the time as a string such as:
        * The time is around ten twenty
        * It is about twenty after eight
    
    Args:
        self(`namespace`)
        time(`str`): time as a string in format HH:MM (primarily used for testing)
        
    Returns:
        tuple: (is_updated(bool), data(dict), priority(int))    
    
___________________________________________________________________________
 
 

SAMPLE CONFIGURATION FOR paperpi.plugins.word_clock.word_clock

[Plugin: Word Clock]
layout = layout
plugin = word_clock
refresh_rate = 125
min_display_time = 255
max_priority = 2

 
LAYOUTS AVAILABLE:
  layout
  word_clock
  word_clock_lg
 

DATA KEYS AVAILABLE FOR USE IN LAYOUTS PROVIDED BY paperpi.plugins.word_clock.word_clock:
   word_time
   time

Provided Layouts:

layout: layout

sample image for plugin layout

layout: word_clock

sample image for plugin word_clock

layout: word_clock_lg

sample image for plugin word_clock_lg