Files
Inkycal/docsource/docs/.doctrees/inkycal.doctree

530 lines
128 KiB
Plaintext
Raw Normal View History

2023-06-03 15:53:45 +02:00
<EFBFBD><05> <00>sphinx.addnodes<65><73>document<6E><74><EFBFBD>)<29><>}<7D>(<28> rawsource<63><65><00><>children<65>]<5D>(<28>docutils.nodes<65><73>image<67><65><EFBFBD>)<29><>}<7D>(h<05>1.. image:: ../Gallery/logo.png
:align: center
<EFBFBD>h]<5D><>
attributes<EFBFBD>}<7D>(<28>ids<64>]<5D><>classes<65>]<5D><>names<65>]<5D><>dupnames<65>]<5D><>backrefs<66>]<5D><>align<67><6E>center<65><72>uri<72><69>../Gallery/logo.png<6E><67>
candidates<EFBFBD>}<7D><>*<2A>hsu<73>tagname<6D>h
<EFBFBD>parent<6E>h<03> _document<6E>h<03>source<63><65>9/Users/ace/Desktop/Projekte/Inkycal/docsource/inkycal.rst<73><74>line<6E>Nubh <09>section<6F><6E><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>title<6C><65><EFBFBD>)<29><>}<7D>(h<05>Inkycal<61>h]<5D>h <09>Text<78><74><EFBFBD><EFBFBD>Inkycal<61><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h0h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#h.h$h+h%hh&h'h(Kubh<00>index<65><78><EFBFBD>)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(<28>pair<69><72>module; inkycal.main<69><6E>module-inkycal.main<69>hNt<4E>auh#h@h$h+h%hh&<26>M/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main<69>h(Nubh <09> paragraph<70><68><EFBFBD>)<29><>}<7D>(h<05>4Main class for inkycal Project
Copyright by aceisace<63>h]<5D>h5<68>4Main class for inkycal Project
Copyright by aceisace<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$hTh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&hQh(Kh$h+h%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(<28>single<6C><65>Inkycal (class in inkycal.main)<29><>inkycal.main.Inkycal<61>hNt<4E>auh#h@h$h+h%hh&Nh(Nubh<00>desc<73><63><EFBFBD>)<29><>}<7D>(hhh]<5D>(h<00>desc_signature<72><65><EFBFBD>)<29><>}<7D>(h<05>(Inkycal(settings_path=None, render=True)<29>h]<5D>(h<00>desc_annotation<6F><6E><EFBFBD>)<29><>}<7D>(h<05>2[<#text: 'class'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>class<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h~h%hh&Nh(Nubh<00>desc_sig_space<63><65><EFBFBD>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D><>w<>ah]<5D>h]<5D>h]<5D>uh#h<>h$h~ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> xml:space<63><65>preserve<76>uh#h|h$hxh%hh&<26>U/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal<61>h(Kubh<00> desc_addname<6D><65><EFBFBD>)<29><>}<7D>(h<05> inkycal.main.<2E>h]<5D>h5<68> inkycal.main.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(<28> sig-prename<6D><65> descclassname<6D>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$hxh%hh&h<>h(Kubh<00> desc_name<6D><65><EFBFBD>)<29><>}<7D>(h<05>Inkycal<61>h]<5D>h5<68>Inkycal<61><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(<28>sig-name<6D><65>descname<6D>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$hxh%hh&h<>h(Kubh<00>desc_parameterlist<73><74><EFBFBD>)<29><>}<7D>(h<05>settings_path=None, render=True<75>h]<5D>(h<00>desc_parameter<65><72><EFBFBD>)<29><>}<7D>(h<05>settings_path=None<6E>h]<5D>(h<00> desc_sig_name<6D><65><EFBFBD>)<29><>}<7D>(h<05> settings_path<74>h]<5D>h5<68> settings_path<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D><>n<>ah]<5D>h]<5D>h]<5D>uh#h<>h$h<>ubh<00>desc_sig_operator<6F><72><EFBFBD>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D><>o<>ah]<5D>h]<5D>h]<5D>uh#h<>h$h<>ubh <09>inline<6E><65><EFBFBD>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$h<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D><> default_value<75>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$h<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$h<>ubh<62>)<29><>}<7D>(h<05> render=True<75>h]<5D>(h<>)<29><>}<7D>(h<05>render<65>h]<5D>h5<68>render<65><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j
ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j
ubh<62>)<29><>}<7D>(h<05>True<75>h]<5D>h5<68>True<75><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j*h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j
ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$h<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$hxh%hh&h<>h(Kubeh}<7D>(h]<5D>hoah]<5D>(<28>sig<69><67>
sig-object<63>eh]<5D>h]<5D>h]<5D><>module<6C><65> inkycal.main<69><6E>class<73>h<06>fullname<6D>h<EFBFBD><68>
_toc_parts<EFBFBD>jNh<><68><EFBFBD><EFBFBD> _toc_name<6D>h<EFBFBD>uh#hvh&h<>h(Kh$hsh%hubh<00> desc_content<6E><74><EFBFBD>)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Inkycal main class<73>h]<5D>h5<68>Inkycal main class<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jYh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>U/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal<61>h(Kh$jVh%hubhS)<29><>}<7D>(h<05>=Main class of Inkycal, test and run the main Inkycal program.<2E>h]<5D>h5<68>=Main class of Inkycal, test and run the main Inkycal program.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jhh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jgh(Kh$jVh%hubh <09>definition_list<73><74><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>definition_list_item<65><6D><EFBFBD>)<29><>}<7D>(h<05><>Args:
- settings_path = str -> the full path to your settings.json file
if no path is given, tries looking for settings file in /boot folder.
- render = bool (True/False) -> show the image on the epaper display?
<EFBFBD>h]<5D>(h <09>term<72><6D><EFBFBD>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jgh(Kh$j}ubh <09>
definition<EFBFBD><EFBFBD><EFBFBD>)<29><>}<7D>(hhh]<5D>h <09> bullet_list<73><74><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09> list_item<65><6D><EFBFBD>)<29><>}<7D>(h<05><>settings_path = str -> the full path to your settings.json file
if no path is given, tries looking for settings file in /boot folder.<2E>h]<5D>hS)<29><>}<7D>(h<05><>settings_path = str -> the full path to your settings.json file
if no path is given, tries looking for settings file in /boot folder.<2E>h]<5D>h5<68><35>settings_path = str -> the full path to your settings.json file
if no path is given, tries looking for settings file in /boot folder.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jgh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>Drender = bool (True/False) -> show the image on the epaper display?
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Crender = bool (True/False) -> show the image on the epaper display?<3F>h]<5D>h5<68>Crender = bool (True/False) -> show the image on the epaper display?<3F><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jgh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>bullet<65><74>-<2D>uh#j<>h&jgh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j}ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jgh(Kh$jxubj|)<29><>}<7D>(h<05><>Attributes:
- optimize = True/False. Reduce number of colours on the generated image
to improve rendering on E-Papers. Set this to False for 9.7" E-Paper.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05> Attributes:<3A>h]<5D>h5<68> Attributes:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jgh(K h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05><>optimize = True/False. Reduce number of colours on the generated image
to improve rendering on E-Papers. Set this to False for 9.7" E-Paper.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05><>optimize = True/False. Reduce number of colours on the generated image
to improve rendering on E-Papers. Set this to False for 9.7" E-Paper.<2E>h]<5D>h5<68><35>optimize = True/False. Reduce number of colours on the generated image
to improve rendering on E-Papers. Set this to False for 9.7” E-Paper.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jgh(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jgh(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jgh(K h$jxh%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$jVh%hh&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>0add_module() (inkycal.main.Inkycal class method)<29><>inkycal.main.Inkycal.add_module<6C>hNt<4E>auh#h@h$jVh%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkycal.add_module(filepath)<29>h]<5D>(h})<29><>}<7D>(h<05>8[<#text: 'classmethod'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68> classmethod<6F><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j>h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jFh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j:h%hh&<26>`/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.add_module<6C>h(Kubh<62>)<29><>}<7D>(h<05>
add_module<EFBFBD>h]<5D>h5<68>
add_module<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j[h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j:h%hh&jZh(Kubh<62>)<29><>}<7D>(h<05>filepath<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>filepath<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>filepath<74>h]<5D>h5<68>filepath<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jqh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jmubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jiubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j:h%hh&jZh(Kubeh}<7D>(h]<5D>j5ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00>Inkycal.add_module<6C>jQj<><00>Inkycal<61><6C>
add_module<EFBFBD><EFBFBD><EFBFBD>jS<00>Inkycal.add_module()<29>uh#hvh&jZh(Kh$j7h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>+registers a third party module for inkycal.<2E>h]<5D>h5<68>+registers a third party module for inkycal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>`/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.add_module<6C>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05><>Uses the full filepath of the third party module to check if it is inside
the correct folder, then checks if it's an inkycal module. Lastly, the
init files in /inkycal and /inkycal/modules are updated to allow using
the new module.<2E>h]<5D>h5<68><35>Uses the full filepath of the third party module to check if it is inside
the correct folder, then checks if its an inkycal module. Lastly, the
init files in /inkycal and /inkycal/modules are updated to allow using
the new module.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05>oArgs:
- filepath: The full filepath of the third party module. Modules should be
in Inkycal/inkycal/modules.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(K
h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>efilepath: The full filepath of the third party module. Modules should be
in Inkycal/inkycal/modules.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>dfilepath: The full filepath of the third party module. Modules should be
in Inkycal/inkycal/modules.<2E>h]<5D>h5<68>dfilepath: The full filepath of the third party module. Modules should be
in Inkycal/inkycal/modules.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(K
h$j<>ubj|)<29><>}<7D>(hXUsage:
- download a third-party module. The exact link is provided by the
developer of that module and starts with
`https://raw.githubusercontent.com/...`
enter the following in bash to download a module::
$ cd Inkycal/inkycal/modules #navigate to modules folder in inkycal
$ wget https://raw.githubusercontent.com/... #download the module
then register it with this function::
>>> from inkycal import Inkycal
>>> Inkycal.add_module('/full/path/to/the/module/in/inkycal/modules.py')<29>h]<5D>(j<>)<29><>}<7D>(h<05>Usage:<3A>h]<5D>h5<68>Usage:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hX<>download a third-party module. The exact link is provided by the
developer of that module and starts with
`https://raw.githubusercontent.com/...`
enter the following in bash to download a module::
$ cd Inkycal/inkycal/modules #navigate to modules folder in inkycal
$ wget https://raw.githubusercontent.com/... #download the module
then register it with this function::
>>> from inkycal import Inkycal
>>> Inkycal.add_module('/full/path/to/the/module/in/inkycal/modules.py')<29>h]<5D>(hS)<29><>}<7D>(h<05><>download a third-party module. The exact link is provided by the
developer of that module and starts with
`https://raw.githubusercontent.com/...`<60>h]<5D>(h5<68>jdownload a third-party module. The exact link is provided by the
developer of that module and starts with
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubh <09>title_reference<63><65><EFBFBD>)<29><>}<7D>(h<05>'`https://raw.githubusercontent.com/...`<60>h]<5D>h5<68>%https://raw.githubusercontent.com/…<><E280A6><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$jubhS)<29><>}<7D>(h<05>2enter the following in bash to download a module::<3A>h]<5D>h5<68>1enter the following in bash to download a module:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j6h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jubh <09> literal_block<63><6B><EFBFBD>)<29><>}<7D>(h<05><>$ cd Inkycal/inkycal/modules #navigate to modules folder in inkycal
$ wget https://raw.githubusercontent.com/... #download the module<6C>h]<5D>h5<68><35>$ cd Inkycal/inkycal/modules #navigate to modules folder in inkycal
$ wget https://raw.githubusercontent.com/... #download the module<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>h$jFsbah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#jDh&j<>h(Kh$jubhS)<29><>}<7D>(h<05>%then register it with this function::<3A>h]<5D>h5<68>$then register it with this function:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jTh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jubjE)<29><>}<7D>(h<05>h>>> from inkycal import Inkycal
>>> Inkycal.add_module('/full/path/to/the/module/in/inkycal/modules.py')<29>h]<5D>h5<68>h>>> from inkycal import Inkycal
>>> Inkycal.add_module('/full/path/to/the/module/in/inkycal/modules.py')<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$jbsbah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#jDh&j<>h(Kh$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(K h$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(Kh$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j7h%hh&jZh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D><>domain<69>j<EFBFBD><00>objtype<70>j<EFBFBD><00>desctype<70>j<EFBFBD><00>noindex<65><78><EFBFBD> noindexentry<72><79><EFBFBD>nocontentsentry<72><79>uh#hqh%hh$jVh&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>)calibrate() (inkycal.main.Inkycal method)<29><>inkycal.main.Inkycal.calibrate<74>hNt<4E>auh#h@h$jVh%hh&<26>_/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.calibrate<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkycal.calibrate()<29>h]<5D>(h<>)<29><>}<7D>(h<05> calibrate<74>h]<5D>h5<68> calibrate<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>_/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.calibrate<74>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00>Inkycal.calibrate<74>jQj<><00>Inkycal<61><6C> calibrate<74><65><EFBFBD>jS<00>Inkycal.calibrate()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Calibrate the E-Paper display<61>h]<5D>h5<68>Calibrate the E-Paper display<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05><>Uses the Display class to calibrate the display with the default of 3
cycles. After a refresh cycle, a new image is generated and shown.<2E>h]<5D>h5<68><35>Uses the Display class to calibrate the display with the default of 3
cycles. After a refresh cycle, a new image is generated and shown.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jj<>jj<>jj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jVh&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>)countdown() (inkycal.main.Inkycal method)<29><>inkycal.main.Inkycal.countdown<77>hNt<4E>auh#h@h$jVh%hh&<26>_/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.countdown<77>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>%Inkycal.countdown(interval_mins=None)<29>h]<5D>(h<>)<29><>}<7D>(h<05> countdown<77>h]<5D>h5<68> countdown<77><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jh%hh&<26>_/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.countdown<77>h(Kubh<62>)<29><>}<7D>(h<05>interval_mins=None<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>interval_mins=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05> interval_mins<6E>h]<5D>h5<68> interval_mins<6E><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j7h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j3ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jEh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j3ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jSh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j3ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j/ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jh%hh&j.h(Kubeh}<7D>(h]<5D>jah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00>Inkycal.countdown<77>jQjt<00>Inkycal<61><6C> countdown<77><6E><EFBFBD>jS<00>Inkycal.countdown()<29>uh#hvh&j.h(Kh$jh%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>?Returns the remaining time in seconds until next display update<74>h]<5D>h5<68>?Returns the remaining time in seconds until next display update<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j}h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jh(Kh$jzh%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jh%hh&j.h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jVh&jh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>3remove_module() (inkycal.main.Inkycal class method)<29><>"inkycal.main.Inkycal.remove_module<6C>hNt<4E>auh#h@h$jVh%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>1Inkycal.remove_module(filename, remove_file=True)<29>h]<5D>(h})<29><>}<7D>(h<05>8[<#text: 'classmethod'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68> classmethod<6F><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j<>h%hh&<26>c/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.remove_module<6C>h(Kubh<62>)<29><>}<7D>(h<05> remove_module<6C>h]<5D>h5<68> remove_module<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>filename, remove_file=True<75>h]<5D>(h<>)<29><>}<7D>(h<05>filename<6D>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>filename<6D>h]<5D>h5<68>filename<6D><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>remove_file=True<75>h]<5D>(h<>)<29><>}<7D>(h<05> remove_file<6C>h]<5D>h5<68> remove_file<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>True<75>h]<5D>h5<68>True<75><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00>Inkycal.remove_module<6C>jQj6<00>Inkycal<61><6C> remove_module<6C><65><EFBFBD>jS<00>Inkycal.remove_module()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>unregisters an inkycal module.<2E>h]<5D>h5<68>unregisters an inkycal module.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j?h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>c/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.remove_module<6C>h(Kh$j<h%hubhS)<29><>}<7D>(h<05><>Looks for given filename.py in /modules folder, removes entries of that
module in init files inside /inkycal and /inkycal/modules<65>h]<5D>h5<68><35>Looks for given filename.py in /modules folder, removes entries of that
module in init files inside /inkycal and /inkycal/modules<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jNh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jMh(Kh$j<h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(hXArgs:
- filename: The filename (with .py ending) of the module which should be
unregistered. e.g. `'mymodule.py'`
- remove_file: ->bool (True/False). If set to True, the module is deleted
after unregistering it, else it remains in the /modules folder
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jch%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jMh(K h$j_ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>ifilename: The filename (with .py ending) of the module which should be
unregistered. e.g. `'mymodule.py'`<60>h]<5D>hS)<29><>}<7D>(h<05>ifilename: The filename (with .py ending) of the module which should be
unregistered. e.g. `'mymodule.py'`<60>h]<5D>(h5<68>Zfilename: The filename (with .py ending) of the module which should be
unregistered. e.g. <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j{h%hh&Nh(Nubj!)<29><>}<7D>(h<05>`'mymodule.py'`<60>h]<5D>h5<68>mymodule.py<79><E28099><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j{ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jMh(Kh$jwubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jtubj<62>)<29><>}<7D>(h<05><>remove_file: ->bool (True/False). If set to True, the module is deleted
after unregistering it, else it remains in the /modules folder
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05><>remove_file: ->bool (True/False). If set to True, the module is deleted
after unregistering it, else it remains in the /modules folder<65>h]<5D>h5<68><35>remove_file: ->bool (True/False). If set to True, the module is deleted
after unregistering it, else it remains in the /modules folder<65><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jMh(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jtubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jMh(Kh$jqubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j_ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jMh(K h$j\ubj|)<29><>}<7D>(hXUsage:
- Look for the module in Inkycal/inkycal/modules which should be removed.
Only the filename (with .py) is required, not the full path.
Use this function to unregister the module from inkycal::
>>> from inkycal import Inkycal
>>> Inkycal.remove_module('mymodule.py')<29>h]<5D>(j<>)<29><>}<7D>(h<05>Usage:<3A>h]<5D>h5<68>Usage:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jMh(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hX Look for the module in Inkycal/inkycal/modules which should be removed.
Only the filename (with .py) is required, not the full path.
Use this function to unregister the module from inkycal::
>>> from inkycal import Inkycal
>>> Inkycal.remove_module('mymodule.py')<29>h]<5D>(hS)<29><>}<7D>(h<05><>Look for the module in Inkycal/inkycal/modules which should be removed.
Only the filename (with .py) is required, not the full path.<2E>h]<5D>h5<68><35>Look for the module in Inkycal/inkycal/modules which should be removed.
Only the filename (with .py) is required, not the full path.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jMh(Kh$j<>ubhS)<29><>}<7D>(h<05>9Use this function to unregister the module from inkycal::<3A>h]<5D>h5<68>8Use this function to unregister the module from inkycal:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jMh(Kh$j<>ubjE)<29><>}<7D>(h<05>H>>> from inkycal import Inkycal
>>> Inkycal.remove_module('mymodule.py')<29>h]<5D>h5<68>H>>> from inkycal import Inkycal
>>> Inkycal.remove_module('mymodule.py')<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j<>sbah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#jDh&jMh(Kh$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jMh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jMh(Kh$j\h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j4j<>j5j<>j5j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jVh&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>#run() (inkycal.main.Inkycal method)<29><>inkycal.main.Inkycal.run<75>hNt<4E>auh#h@h$jVh%hh&<26>Y/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.run<75>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05> Inkycal.run()<29>h]<5D>(h<>)<29><>}<7D>(h<05>run<75>h]<5D>h5<68>run<75><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jOh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jKh%hh&<26>Y/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.run<75>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jKh%hh&j]h(Kubeh}<7D>(h]<5D>jEah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00> Inkycal.run<75>jQjn<00>Inkycal<61><6C>run<75><6E><EFBFBD>jS<00> Inkycal.run()<29>uh#hvh&j]h(Kh$jHh%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>"Runs main program in nonstop mode.<2E>h]<5D>h5<68>"Runs main program in nonstop mode.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jwh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jGh(Kh$jth%hubhS)<29><>}<7D>(h<05><>Uses an infinity loop to run Inkycal nonstop. Inkycal generates the image
from all modules, assembles them in one image, refreshed the E-Paper and
then sleeps until the next sheduled update.<2E>h]<5D>h5<68><35>Uses an infinity loop to run Inkycal nonstop. Inkycal generates the image
from all modules, assembles them in one image, refreshed the E-Paper and
then sleeps until the next sheduled update.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jGh(Kh$jth%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jHh%hh&j]h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jVh&jGh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>$test() (inkycal.main.Inkycal method)<29><>inkycal.main.Inkycal.test<73>hNt<4E>auh#h@h$jVh%hh&<26>Z/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.test<73>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkycal.test()<29>h]<5D>(h<>)<29><>}<7D>(h<05>test<73>h]<5D>h5<68>test<73><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>Z/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main.Inkycal.test<73>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00> inkycal.main<69>jOh<>jP<00> Inkycal.test<73>jQj<><00>Inkycal<61><6C>test<73><74><EFBFBD>jS<00>Inkycal.test()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>(Tests if Inkycal can run without issues.<2E>h]<5D>h5<68>(Tests if Inkycal can run without issues.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05><>Attempts to import module names from settings file. Loads the config
for each module and initializes the module. Tries to run the module and
checks if the images could be generated correctly.<2E>h]<5D>h5<68><35>Attempts to import module names from settings file. Loads the config
for each module and initializes the module. Tries to run the module and
checks if the images could be generated correctly.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>?Generated images can be found in the /images folder of Inkycal.<2E>h]<5D>h5<68>?Generated images can be found in the /images folder of Inkycal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jj<>jj<>jj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jVh&j<>h(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$hsh%hh&h<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>class<73>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j j<>j!j<>j!j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$h+h&Nh(Nubeh}<7D>(h]<5D>(hO<68>inkycal<61>eh]<5D>h]<5D><>inkycal<61>ah]<5D>h]<5D>uh#h)h$hh%hh&h'h(Kubh*)<29><>}<7D>(hhh]<5D>(h/)<29><>}<7D>(h<05>Display<61>h]<5D>h5<68>Display<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j0h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#h.h$j-h%hh&h'h(K
ubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hM<68>module; inkycal.display.display<61><79>module-inkycal.display.display<61>hNt<4E>auh#h@h$j-h%hh&<26>c/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display<61>h(NubhS)<29><>}<7D>(h<05>6Inkycal ePaper driving functions
Copyright by aceisace<63>h]<5D>h5<68>6Inkycal ePaper driving functions
Copyright by aceisace<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jMh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(Kh$j-h%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>*Display (class in inkycal.display.display)<29><>inkycal.display.display.Display<61>hNt<4E>auh#h@h$j-h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Display(epaper_model)<29>h]<5D>(h})<29><>}<7D>(h<05>2[<#text: 'class'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>class<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jph%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jxh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jpubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$jlh%hh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display<61>h(Kubh<62>)<29><>}<7D>(h<05>inkycal.display.display.<2E>h]<5D>h5<68>inkycal.display.display.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jlh%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>Display<61>h]<5D>h5<68>Display<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jlh%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05> epaper_model<65>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05> epaper_model<65>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05> epaper_model<65>h]<5D>h5<68> epaper_model<65><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jlh%hh&j<>h(Kubeh}<7D>(h]<5D>jgah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.display.display<61>jOhjPj<>jQj<>j<><00><>jSj<>uh#hvh&j<>h(Kh$jih%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Display class for inkycal<61>h]<5D>h5<68>Display class for inkycal<61><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display<61>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05><>Creates an instance of the driver for the selected E-Paper model and allows
rendering images and calibrating the E-Paper display<61>h]<5D>h5<68><35>Creates an instance of the driver for the selected E-Paper model and allows
rendering images and calibrating the E-Paper display<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>8Args:
- epaper_model: The name of your E-Paper model.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(K h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>0epaper_model: The name of your E-Paper model.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>-epaper_model: The name of your E-Paper model.<2E>h]<5D>h5<68>-epaper_model: The name of your E-Paper model.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>4calibrate() (inkycal.display.display.Display method)<29><>)inkycal.display.display.Display.calibrate<74>hNt<4E>auh#h@h$j<>h%hh&<26>u/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.calibrate<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Display.calibrate(cycles=3)<29>h]<5D>(h<>)<29><>}<7D>(h<05> calibrate<74>h]<5D>h5<68> calibrate<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jTh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jPh%hh&<26>u/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.calibrate<74>h(Kubh<62>)<29><>}<7D>(h<05>cycles=3<>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>cycles=3<>h]<5D>(h<>)<29><>}<7D>(h<05>cycles<65>h]<5D>h5<68>cycles<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jkh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jgubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jyh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jgubh<62>)<29><>}<7D>(h<05>3<>h]<5D>h5<68>3<><33><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$jgubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jcubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jPh%hh&jbh(Kubeh}<7D>(h]<5D>jJah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.display.display<61>jOj<>jP<00>Display.calibrate<74>jQj<><00>Display<61><79> calibrate<74><65><EFBFBD>jS<00>Display.calibrate()<29>uh#hvh&jbh(Kh$jMh%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>.Calibrates the display to retain crisp colours<72>h]<5D>h5<68>.Calibrates the display to retain crisp colours<72><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(Kh$j<>h%hubhS)<29><>}<7D>(h<05>rFlushes the selected display several times with it's supported colours,
removing any previous effects of ghosting.<2E>h]<5D>h5<68>tFlushes the selected display several times with its supported colours,
removing any previous effects of ghosting.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>`Args:
- cycles: -> int. The number of times to flush the display with it's
supported colours.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jLh(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>Vcycles: -> int. The number of times to flush the display with it's
supported colours.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Ucycles: -> int. The number of times to flush the display with it's
supported colours.<2E>h]<5D>h5<68>Wcycles: -> int. The number of times to flush the display with its
supported colours.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jLh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jLh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(NubhS)<29><>}<7D>(h<05><>It's recommended to calibrate the display after every 6 display updates
for best results. For black-white only displays, calibration is less
critical, but not calibrating regularly results in grey-ish text.<2E>h]<5D>h5<68><35>Its recommended to calibrate the display after every 6 display updates
for best results. For black-white only displays, calibration is less
critical, but not calibrating regularly results in grey-ish text.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(K
h$j<>h%hubhS)<29><>}<7D>(h<05><>Please note that calibration takes a while to complete. 3 cycles may
take 10 minutes on black-white E-Papers while it takes 20 minutes on coloured
E-Paper displays.<2E>h]<5D>h5<68><35>Please note that calibration takes a while to complete. 3 cycles may
take 10 minutes on black-white E-Papers while it takes 20 minutes on coloured
E-Paper displays.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j& h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jLh(Kh$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jMh%hh&jbh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j= j<>j> j<>j> j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jLh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>Bget_display_names() (inkycal.display.display.Display class method)<29><>1inkycal.display.display.Display.get_display_names<65>hNt<4E>auh#h@h$j<>h%hh&<26>}/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.get_display_names<65>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>#Display.get_display_names() -> list<73>h]<5D>(h})<29><>}<7D>(h<05>8[<#text: 'classmethod'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68> classmethod<6F><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jX h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j` h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jX ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$jT h%hh&<26>}/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.get_display_names<65>h(Kubh<62>)<29><>}<7D>(h<05>get_display_names<65>h]<5D>h5<68>get_display_names<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$ju h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jT h%hh&jt h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jT h%hh&jt h(Kubh<00> desc_returns<6E><73><EFBFBD>)<29><>}<7D>(h<05>list<73>h]<5D>h<00> pending_xref<65><66><EFBFBD>)<29><>}<7D>(hhh]<5D>h5<68>list<73><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> refdomain<69><6E>py<70><79>reftype<70>jO<00> reftarget<65><74>list<73><74> refspecific<69><63><EFBFBD> py:module<6C>j<EFBFBD><00>py:class<73>j<EFBFBD>uh#j<> h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j<> h$jT h%hh&jt h(Kubeh}<7D>(h]<5D>jN ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.display.display<61>jOj<>jP<00>Display.get_display_names<65>jQj<> <00>Display<61><79>get_display_names<65><73><EFBFBD>jS<00>Display.get_display_names()<29>uh#hvh&jt h(Kh$jQ h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>$Prints all supported E-Paper models.<2E>h]<5D>h5<68>$Prints all supported E-Paper models.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jP h(Kh$j<> h%hubhS)<29><>}<7D>(h<05>FFetches all filenames in driver folder and prints them on the console.<2E>h]<5D>h5<68>FFetches all filenames in driver folder and prints them on the console.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jP h(Kh$j<> h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>4Returns:
Printed version of all supported Displays.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jP h(Kh$j<> ubj<62>)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>*Printed version of all supported Displays.<2E>h]<5D>h5<68>*Printed version of all supported Displays.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jP h(Kh$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jP h(Kh$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<> h%hh&jP h(NubhS)<29><>}<7D>(h<05>^Use one of the models to intilialize the Display class in order to gain
access to the E-Paper.<2E>h]<5D>h5<68>^Use one of the models to intilialize the Display class in order to gain
access to the E-Paper.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jP h(Kh$j<> h%hubhS)<29><>}<7D>(h<05>FYou can use this function directly without creating the Display class:<3A>h]<5D>h5<68>FYou can use this function directly without creating the Display class:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j!
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jP h(K h$j<> h%hubh <09> doctest_block<63><6B><EFBFBD>)<29><>}<7D>(h<05>>>> Display.get_display_names()<29>h]<5D>h5<68>>>> Display.get_display_names()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j1
sbah}<7D>(h]<5D>h]<5D><>doctest<73>ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<> h%hh&jP h(K ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jQ h%hh&jt h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jI
j<>jJ
j<>jJ
j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jP h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>;get_display_size() (inkycal.display.display.Display method)<29><>0inkycal.display.display.Display.get_display_size<7A>hNt<4E>auh#h@h$j<>h%hh&<26>|/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.get_display_size<7A>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>#Display.get_display_size() -> tuple<6C>h]<5D>(h<>)<29><>}<7D>(h<05>get_display_size<7A>h]<5D>h5<68>get_display_size<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jd
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j`
h%hh&<26>|/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.get_display_size<7A>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j`
h%hh&jr
h(Kubj<62> )<29><>}<7D>(h<05>tuple<6C>h]<5D>j<EFBFBD> )<29><>}<7D>(hhh]<5D>h5<68>tuple<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> refdomain<69>j<EFBFBD> <00>reftype<70>jO<00> reftarget<65><74>tuple<6C><65> refspecific<69><63><EFBFBD> py:module<6C>j<EFBFBD><00>py:class<73>j<EFBFBD>uh#j<> h$j}
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j<> h$j`
h%hh&jr
h(Kubeh}<7D>(h]<5D>jZ
ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.display.display<61>jOj<>jP<00>Display.get_display_size<7A>jQj<>
<00>Display<61><79>get_display_size<7A><65><EFBFBD>jS<00>Display.get_display_size()<29>uh#hvh&jr
h(Kh$j]
h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>=Returns the size of the display as a tuple -> (width, height)<29>h]<5D>h5<68>=Returns the size of the display as a tuple -> (width, height)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j\
h(Kh$j<>
h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05>MArgs:
- model_name: str -> The name of the E-Paper display to get it's size.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j\
h(Kh$j<>
ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>Emodel_name: str -> The name of the E-Paper display to get it's size.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Dmodel_name: str -> The name of the E-Paper display to get it's size.<2E>h]<5D>h5<68>Fmodel_name: str -> The name of the E-Paper display to get its size.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j\
h(Kh$j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j\
h(Kh$j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>
ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j\
h(Kh$j<>
ubj|)<29><>}<7D>(h<05>BReturns:
(width, height) ->tuple, showing the size of the display
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j\
h(Kh$j<>
ubj<62>)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>8(width, height) ->tuple, showing the size of the display<61>h]<5D>h5<68>8(width, height) ->tuple, showing the size of the display<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j\
h(Kh$j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>
ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j\
h(Kh$j<>
h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>
h%hh&Nh(NubhS)<29><>}<7D>(h<05>FYou can use this function directly without creating the Display class:<3A>h]<5D>h5<68>FYou can use this function directly without creating the Display class:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j2 h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j\
h(K h$j<>
h%hubj0
)<29><>}<7D>(h<05>*>>> Display.get_display_size('model_name')<29>h]<5D>h5<68>*>>> Display.get_display_size('model_name')<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j@ sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<>
h%hh&j\
h(K ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j]
h%hh&jr
h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jW j<>jX j<>jX j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j\
h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>1render() (inkycal.display.display.Display method)<29><>&inkycal.display.display.Display.render<65>hNt<4E>auh#h@h$j<>h%hh&<26>r/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.render<65>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>WDisplay.render(im_black: ~PIL.Image.Image, im_colour=<class 'PIL.Image.Image'>) -> None<6E>h]<5D>(h})<29><>}<7D>(h<05>2[<#text: 'async'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>async<6E><63><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jr h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jz h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jr ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$jn h%hh&<26>r/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display.Display.render<65>h(Kubh<62>)<29><>}<7D>(h<05>render<65>h]<5D>h5<68>render<65><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jn h%hh&j<> h(Kubh<62>)<29><>}<7D>(h<05>A(im_black: ~PIL.Image.Image, im_colour=<class 'PIL.Image.Image'>)<29>h]<5D>(h<>)<29><>}<7D>(h<05>im_black: ~PIL.Image.Image<67>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>im_black: ~PIL.Image.Image<67>h]<5D>h5<68>im_black: ~PIL.Image.Image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> ubh<62>)<29><>}<7D>(h<05>#im_colour=<class 'PIL.Image.Image'><3E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>#im_colour=<class 'PIL.Image.Image'><3E>h]<5D>h5<68>#im_colour=<class 'PIL.Image.Image'><3E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jn h%hh&j<> h(Kubj<62> )<29><>}<7D>(h<05>None<6E>h]<5D>j<EFBFBD> )<29><>}<7D>(hhh]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> refdomain<69>j<EFBFBD> <00>reftype<70><65>obj<62><6A> reftarget<65><74>None<6E><65> refspecific<69><63><EFBFBD> py:module<6C>j<EFBFBD><00>py:class<73>j<EFBFBD>uh#j<> h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j<> h$jn h%hh&j<> h(Kubeh}<7D>(h]<5D>jh ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.display.display<61>jOj<>jP<00>Display.render<65>jQj<> <00>Display<61><79>render<65><72><EFBFBD>jS<00>Display.render()<29>uh#hvh&j<> h(Kh$jk h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>1Renders an image on the selected E-Paper display.<2E>h]<5D>h5<68>1Renders an image on the selected E-Paper display.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j h%hubhS)<29><>}<7D>(h<05>^Initlializes the E-Paper display, sends image data and executes command
to update the display.<2E>h]<5D>h5<68>^Initlializes the E-Paper display, sends image data and executes command
to update the display.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(hX<>Args:
- im_black: The image for the black-pixels. Anything in this image that is
black is rendered as black on the display. This is required and ideally
should be a black-white image.
- im_colour: For E-Paper displays supporting colour, a separate image,
ideally black-white is required for the coloured pixels. Anything that is
black in this image will show up as either red/yellow.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j( h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jj h(K h$j$ ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05><>im_black: The image for the black-pixels. Anything in this image that is
black is rendered as black on the display. This is required and ideally
should be a black-white image.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05><>im_black: The image for the black-pixels. Anything in this image that is
black is rendered as black on the display. This is required and ideally
should be a black-white image.<2E>h]<5D>h5<68><35>im_black: The image for the black-pixels. Anything in this image that is
black is rendered as black on the display. This is required and ideally
should be a black-white image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j@ h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j< ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j9 ubj<62>)<29><>}<7D>(h<05><>im_colour: For E-Paper displays supporting colour, a separate image,
ideally black-white is required for the coloured pixels. Anything that is
black in this image will show up as either red/yellow.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05><>im_colour: For E-Paper displays supporting colour, a separate image,
ideally black-white is required for the coloured pixels. Anything that is
black in this image will show up as either red/yellow.<2E>h]<5D>h5<68><35>im_colour: For E-Paper displays supporting colour, a separate image,
ideally black-white is required for the coloured pixels. Anything that is
black in this image will show up as either red/yellow.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jX h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(K h$jT ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j9 ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jj h(Kh$j6 ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j$ ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jj h(K h$j! ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j h%hh&Nh(NubhS)<29><>}<7D>(h<05>4Rendering an image for black-white E-Paper displays:<3A>h]<5D>h5<68>4Rendering an image for black-white E-Paper displays:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j h%hubj0
)<29><>}<7D>(h<05><>>>> sample_image = Image.open('path/to/file.png')
>>> display = Display('my_black_white_display')
>>> display.render(sample_image)<29>h]<5D>h5<68><35>>>> sample_image = Image.open('path/to/file.png')
>>> display = Display('my_black_white_display')
>>> display.render(sample_image)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j<> sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j h%hh&jj h(KubhS)<29><>}<7D>(h<05>3Rendering black-white on coloured E-Paper displays:<3A>h]<5D>h5<68>3Rendering black-white on coloured E-Paper displays:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j h%hubj0
)<29><>}<7D>(h<05><>>>> sample_image = Image.open('path/to/file.png')
>>> display = Display('my_coloured_display')
>>> display.render(sample_image, sample_image)<29>h]<5D>h5<68><35>>>> sample_image = Image.open('path/to/file.png')
>>> display = Display('my_coloured_display')
>>> display.render(sample_image, sample_image)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j<> sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j h%hh&jj h(KubhS)<29><>}<7D>(h<05>6Rendering coloured image where 2 images are available:<3A>h]<5D>h5<68>6Rendering coloured image where 2 images are available:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jj h(Kh$j h%hubj0
)<29><>}<7D>(h<05><>>>> black_image = Image.open('path/to/file.png') # black pixels
>>> colour_image = Image.open('path/to/file.png') # coloured pixels
>>> display = Display('my_coloured_display')
>>> display.render(black_image, colour_image)<29>h]<5D>h5<68><35>>>> black_image = Image.open('path/to/file.png') # black pixels
>>> colour_image = Image.open('path/to/file.png') # coloured pixels
>>> display = Display('my_coloured_display')
>>> display.render(black_image, colour_image)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j<> sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j h%hh&jj h(K"ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jk h%hh&j<> h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<> j<>j<> j<>j<> j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jj h(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jih%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>class<73>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<> j<>j<> j<>j<> j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j-h&Nh(Nubeh}<7D>(h]<5D>(jJ<00>display<61>eh]<5D>h]<5D><>display<61>ah]<5D>h]<5D>uh#h)h$hh%hh&h'h(K
ubh*)<29><>}<7D>(hhh]<5D>(h/)<29><>}<7D>(h<05>Custom functions<6E>h]<5D>h5<68>Custom functions<6E><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#h.h$j<> h%hh&h'h(KubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hM<68> module; inkycal.custom.functions<6E><73>module-inkycal.custom.functions<6E>hNt<4E>auh#h@h$j<> h%hh&<26>e/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions<6E>h(NubhS)<29><>}<7D>(h<05>(Inkycal custom-functions for ease-of-use<73>h]<5D>h5<68>(Inkycal custom-functions for ease-of-use<73><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j h(Kh$j<> h%hubhS)<29><>}<7D>(h<05>Copyright by aceisace<63>h]<5D>h5<68>Copyright by aceisace<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j* h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j h(Kh$j<> h%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>4auto_fontsize() (in module inkycal.custom.functions)<29><>&inkycal.custom.functions.auto_fontsize<7A>hNt<4E>auh#h@h$j<> h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>auto_fontsize(font, max_height)<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jM h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jI h%hh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.auto_fontsize<7A>h(Kubh<62>)<29><>}<7D>(h<05> auto_fontsize<7A>h]<5D>h5<68> auto_fontsize<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j\ h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jI h%hh&j[ h(Kubh<62>)<29><>}<7D>(h<05>font, max_height<68>h]<5D>(h<>)<29><>}<7D>(h<05>font<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>font<6E>h]<5D>h5<68>font<6E><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jr h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jn ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jj ubh<62>)<29><>}<7D>(h<05>
max_height<EFBFBD>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>
max_height<EFBFBD>h]<5D>h5<68>
max_height<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jj ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jI h%hh&j[ h(Kubeh}<7D>(h]<5D>jD ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPj^ jQj<> j^ <00><>jS<00>auto_fontsize()<29>uh#hvh&j[ h(Kh$jF h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>)Scales a given font to 80% of max_height.<2E>h]<5D>h5<68>)Scales a given font to 80% of max_height.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.auto_fontsize<7A>h(Kh$j<> h%hubhS)<29><>}<7D>(h<05>NGets the height of a font and scales it until 80% of the max_height
is filled.<2E>h]<5D>h5<68>NGets the height of a font and scales it until 80% of the max_height
is filled.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<> h(Kh$j<> h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05><>Args:
- font: A PIL Font object.
- max_height: An integer representing the height to adjust the font to
which the given font should be scaled to.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<> h(K
h$j<> ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>font: A PIL Font object.<2E>h]<5D>hS)<29><>}<7D>(hj<> h]<5D>h5<68>font: A PIL Font object.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<> h(Kh$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<> ubj<62>)<29><>}<7D>(h<05>omax_height: An integer representing the height to adjust the font to
which the given font should be scaled to.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>nmax_height: An integer representing the height to adjust the font to
which the given font should be scaled to.<2E>h]<5D>h5<68>nmax_height: An integer representing the height to adjust the font to
which the given font should be scaled to.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<> h(K h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<> h(Kh$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<> h(K
h$j<> ubj|)<29><>}<7D>(h<05>0Returns:
A PIL font object with modified height.<2E>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j-h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<> h(K h$j)ubj<62>)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>'A PIL font object with modified height.<2E>h]<5D>h5<68>'A PIL font object with modified height.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<> h(K h$j;ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j)ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<> h(K h$j<> h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<> h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jF h%hh&j[ h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jgj<>jhj<>jhj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>2draw_border() (in module inkycal.custom.functions)<29><>$inkycal.custom.functions.draw_border<65>hNt<4E>auh#h@h$j<> h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Idraw_border(image, xy, size, radius=5, thickness=1, shrinkage=(0.1, 0.1))<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j}h%hh&<26>q/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.draw_border<65>h(Kubh<62>)<29><>}<7D>(h<05> draw_border<65>h]<5D>h5<68> draw_border<65><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j}h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05><image, xy, size, radius=5, thickness=1, shrinkage=(0.1, 0.1)<29>h]<5D>(h<>)<29><>}<7D>(h<05>image<67>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image<67>h]<5D>h5<68>image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>xy<78>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>xy<78>h]<5D>h5<68>xy<78><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>size<7A>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>size<7A>h]<5D>h5<68>size<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>radius=5<>h]<5D>(h<>)<29><>}<7D>(h<05>radius<75>h]<5D>h5<68>radius<75><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>5<>h]<5D>h5<68>5<><35><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05> thickness=1<>h]<5D>(h<>)<29><>}<7D>(h<05> thickness<73>h]<5D>h5<68> thickness<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j1h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>1<>h]<5D>h5<68>1<><31><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j?h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>shrinkage=(0.1, 0.1)<29>h]<5D>(h<>)<29><>}<7D>(h<05> shrinkage<67>h]<5D>h5<68> shrinkage<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jXh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jTubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jfh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jTubh<62>)<29><>}<7D>(h<05>
(0.1, 0.1)<29>h]<5D>h5<68>
(0.1, 0.1)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jth%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$jTubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j}h%hh&j<>h(Kubeh}<7D>(h]<5D>jxah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPj<>jQj<>j<><00><>jS<00> draw_border()<29>uh#hvh&j<>h(Kh$jzh%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>$Draws a border at given coordinates.<2E>h]<5D>h5<68>$Draws a border at given coordinates.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>q/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.draw_border<65>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(hX<>Args:
- image: The image on which the border should be drawn (usually im_black or
im_colour.
- xy: Tuple representing the top-left corner of the border e.g. (32, 100)
where 32 is the x co-ordinate and 100 is the y-coordinate.
- size: Size of the border as a tuple -> (width, height).
- radius: Radius of the corners, where 0 = plain rectangle, 5 = round corners.
- thickness: Thickness of the border in pixels.
- shrinkage: A tuple containing decimals presenting a percentage of shrinking
-> (width_shrink_percentage, height_shrink_percentage).
e.g. (0.1, 0.2) ~ shrinks the width of border by 10%, shrinks height of
border by 20%<25>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>Uimage: The image on which the border should be drawn (usually im_black or
im_colour.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Timage: The image on which the border should be drawn (usually im_black or
im_colour.<2E>h]<5D>h5<68>Timage: The image on which the border should be drawn (usually im_black or
im_colour.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05><>xy: Tuple representing the top-left corner of the border e.g. (32, 100)
where 32 is the x co-ordinate and 100 is the y-coordinate.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05><>xy: Tuple representing the top-left corner of the border e.g. (32, 100)
where 32 is the x co-ordinate and 100 is the y-coordinate.<2E>h]<5D>h5<68><35>xy: Tuple representing the top-left corner of the border e.g. (32, 100)
where 32 is the x co-ordinate and 100 is the y-coordinate.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>8size: Size of the border as a tuple -> (width, height).
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>7size: Size of the border as a tuple -> (width, height).<2E>h]<5D>h5<68>7size: Size of the border as a tuple -> (width, height).<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K
h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>Mradius: Radius of the corners, where 0 = plain rectangle, 5 = round corners.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Lradius: Radius of the corners, where 0 = plain rectangle, 5 = round corners.<2E>h]<5D>h5<68>Lradius: Radius of the corners, where 0 = plain rectangle, 5 = round corners.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>.thickness: Thickness of the border in pixels.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>-thickness: Thickness of the border in pixels.<2E>h]<5D>h5<68>-thickness: Thickness of the border in pixels.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j)h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j%ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05><>shrinkage: A tuple containing decimals presenting a percentage of shrinking
-> (width_shrink_percentage, height_shrink_percentage).
e.g. (0.1, 0.2) ~ shrinks the width of border by 10%, shrinks height of
border by 20%<25>h]<5D>hS)<29><>}<7D>(h<05><>shrinkage: A tuple containing decimals presenting a percentage of shrinking
-> (width_shrink_percentage, height_shrink_percentage).
e.g. (0.1, 0.2) ~ shrinks the width of border by 10%, shrinks height of
border by 20%<25>h]<5D>h5<68><35>shrinkage: A tuple containing decimals presenting a percentage of shrinking
-> (width_shrink_percentage, height_shrink_percentage).
e.g. (0.1, 0.2) ~ shrinks the width of border by 10%, shrinks height of
border by 20%<25><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jAh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j=ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jzh%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jvj<>jwj<>jwj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>0get_fonts() (in module inkycal.custom.functions)<29><>"inkycal.custom.functions.get_fonts<74>hNt<4E>auh#h@h$j<> h%hh&<26>o/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.get_fonts<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05> get_fonts()<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>o/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.get_fonts<74>h(Kubh<62>)<29><>}<7D>(h<05> get_fonts<74>h]<5D>h5<68> get_fonts<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPj<>jQj<>j<><00><>jS<00> get_fonts()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>"Print all available fonts by name.<2E>h]<5D>h5<68>"Print all available fonts by name.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>KSearches the /font folder in Inkycal and displays all fonts found in
there.<2E>h]<5D>h5<68>KSearches the /font folder in Inkycal and displays all fonts found in
there.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05><>Returns:
printed output of all available fonts. To access a fontfile, use the
fonts dictionary to access it.
>>> fonts['fontname']
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(K
h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>cprinted output of all available fonts. To access a fontfile, use the
fonts dictionary to access it.<2E>h]<5D>h5<68>cprinted output of all available fonts. To access a fontfile, use the
fonts dictionary to access it.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubj0
)<29><>}<7D>(h<05>>>> fonts['fontname']<5D>h]<5D>h5<68>>>> fonts['fontname']<5D><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$jsbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(K
h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&j<>h(NubhS)<29><>}<7D>(h<05>dTo use a font, use the following sytax, where fontname is one of the
printed fonts of this function:<3A>h]<5D>h5<68>dTo use a font, use the following sytax, where fontname is one of the
printed fonts of this function:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j&h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$j<>h%hubj0
)<29><>}<7D>(h<05>4>>> ImageFont.truetype(fonts['fontname'], size = 10)<29>h]<5D>h5<68>4>>> ImageFont.truetype(fonts['fontname'], size = 10)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j4sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jKj<>jLj<>jLj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>4get_system_tz() (in module inkycal.custom.functions)<29><>&inkycal.custom.functions.get_system_tz<74>hNt<4E>auh#h@h$j<> h%hh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.get_system_tz<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>get_system_tz()<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jfh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jbh%hh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.get_system_tz<74>h(Kubh<62>)<29><>}<7D>(h<05> get_system_tz<74>h]<5D>h5<68> get_system_tz<74><7A><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$juh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jbh%hh&jth(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jbh%hh&jth(Kubeh}<7D>(h]<5D>j\ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPjwjQj<>jw<00><>jS<00>get_system_tz()<29>uh#hvh&jth(Kh$j_h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Gets the system-timezone<6E>h]<5D>h5<68>Gets the system-timezone<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>$Gets the timezone set by the system.<2E>h]<5D>h5<68>$Gets the timezone set by the system.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>WReturns:
- A timezone if a system timezone was found.
- None if no timezone was found.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j^h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>*A timezone if a system timezone was found.<2E>h]<5D>hS)<29><>}<7D>(hj<>h]<5D>h5<68>*A timezone if a system timezone was found.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>None if no timezone was found.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>None if no timezone was found.<2E>h]<5D>h5<68>None if no timezone was found.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(NubhS)<29><>}<7D>(h<05>NThe extracted timezone can be used to show the local time instead of UTC. e.g.<2E>h]<5D>h5<68>NThe extracted timezone can be used to show the local time instead of UTC. e.g.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(K h$j<>h%hubj0
)<29><>}<7D>(h<05><>>>> import arrow
>>> print(arrow.now()) # returns non-timezone-aware time
>>> print(arrow.now(tz=get_system_tz()) # prints timezone aware time.<2E>h]<5D>h5<68><35>>>> import arrow
>>> print(arrow.now()) # returns non-timezone-aware time
>>> print(arrow.now(tz=get_system_tz()) # prints timezone aware time.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j%sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j_h%hh&jth(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<j<>j=j<>j=j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&j^h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>9internet_available() (in module inkycal.custom.functions)<29><>+inkycal.custom.functions.internet_available<6C>hNt<4E>auh#h@h$j<> h%hh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.internet_available<6C>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>internet_available()<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jWh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jSh%hh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.internet_available<6C>h(Kubh<62>)<29><>}<7D>(h<05>internet_available<6C>h]<5D>h5<68>internet_available<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jfh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jSh%hh&jeh(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jSh%hh&jeh(Kubeh}<7D>(h]<5D>jMah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPjhjQj<>jh<00><>jS<00>internet_available()<29>uh#hvh&jeh(Kh$jPh%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>$checks if the internet is available.<2E><>.h]<5D>h5<68>$checks if the internet is available.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jOh(Kh$j<>h%hubhS)<29><>}<7D>(h<05>eAttempts to connect to google.com with a timeout of 5 seconds to check
if the network can be reached.<2E>h]<5D>h5<68>eAttempts to connect to google.com with a timeout of 5 seconds to check
if the network can be reached.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jOh(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>bReturns:
- True if connection could be established.
- False if the internet could not be reached.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jOh(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>(True if connection could be established.<2E>h]<5D>hS)<29><>}<7D>(hj<>h]<5D>h5<68>(True if connection could be established.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jOh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>,False if the internet could not be reached.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>+False if the internet could not be reached.<2E>h]<5D>h5<68>+False if the internet could not be reached.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jOh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jOh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jOh(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(NubhS)<29><>}<7D>(h<05>EReturned output can be used to add a check for internet availability:<3A>h]<5D>h5<68>EReturned output can be used to add a check for internet availability:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jOh(K
h$j<>h%hubj0
)<29><>}<7D>(h<05>U>>> if internet_available():
>>> #...do something that requires internet connectivity<74>h]<5D>h5<68>U>>> if internet_available():
>>> #...do something that requires internet connectivity<74><79><EFBFBD><EFBFBD><EFBFBD>}<7D>h$jsbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$j<>h%hh&jOh(K ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jPh%hh&jeh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j-j<>j.j<>j.j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&jOh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>0text_wrap() (in module inkycal.custom.functions)<29><>"inkycal.custom.functions.text_wrap<61>hNt<4E>auh#h@h$j<> h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>*text_wrap(text, font=None, max_width=None)<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jGh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jCh%hh&<26>o/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.text_wrap<61>h(Kubh<62>)<29><>}<7D>(h<05> text_wrap<61>h]<5D>h5<68> text_wrap<61><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jVh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jCh%hh&jUh(Kubh<62>)<29><>}<7D>(h<05>text, font=None, max_width=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>text<78>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>text<78>h]<5D>h5<68>text<78><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jlh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jhubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jdubh<62>)<29><>}<7D>(h<05> font=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>font<6E>h]<5D>h5<68>font<6E><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jdubh<62>)<29><>}<7D>(h<05>max_width=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05> max_width<74>h]<5D>h5<68> max_width<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jdubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jCh%hh&jUh(Kubeh}<7D>(h]<5D>j>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPjXjQj<>jX<00><>jS<00> text_wrap()<29>uh#hvh&jUh(Kh$j@h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>*Splits a very long text into smaller parts<74>h]<5D>h5<68>*Splits a very long text into smaller parts<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>o/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.text_wrap<61>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>~Splits a long text to smaller lines which can fit in a line with max_width.
Uses a Font object for more accurate calculations.<2E>h]<5D>h5<68>~Splits a long text to smaller lines which can fit in a line with max_width.
Uses a Font object for more accurate calculations.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j
h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05><>Args:
- text -> Text as a string
- font: A PIL font object which is used to calculate the size.
- max_width: int-> a width in pixels defining the maximum width before
splitting the text into the next chunk.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j
h(K
h$jubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>text -> Text as a string<6E>h]<5D>hS)<29><>}<7D>(hj6h]<5D>h5<68>text -> Text as a string<6E><67><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j8h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j
h(Kh$j4ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j1ubj<62>)<29><>}<7D>(h<05><font: A PIL font object which is used to calculate the size.<2E>h]<5D>hS)<29><>}<7D>(hjMh]<5D>h5<68><font: A PIL font object which is used to calculate the size.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jOh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j
h(Kh$jKubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j1ubj<62>)<29><>}<7D>(h<05>mmax_width: int-> a width in pixels defining the maximum width before
splitting the text into the next chunk.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>lmax_width: int-> a width in pixels defining the maximum width before
splitting the text into the next chunk.<2E>h]<5D>h5<68>lmax_width: int-> a width in pixels defining the maximum width before
splitting the text into the next chunk.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jfh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j
h(K h$jbubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j1ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j
h(Kh$j.ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j
h(K
h$jubj|)<29><>}<7D>(h<05><Returns:
A list containing chunked strings of the full text.<2E>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j
h(K h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>3A list containing chunked strings of the full text.<2E>h]<5D>h5<68>3A list containing chunked strings of the full text.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j
h(K h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j
h(K h$jh%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j@h%hh&jUh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>,write() (in module inkycal.custom.functions)<29><>inkycal.custom.functions.write<74>hNt<4E>auh#h@h$j<> h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>5write(image, xy, box_size, text, font=None, **kwargs)<29>h]<5D>(h<>)<29><>}<7D>(h<05>inkycal.custom.functions.<2E>h]<5D>h5<68>inkycal.custom.functions.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.write<74>h(Kubh<62>)<29><>}<7D>(h<05>write<74>h]<5D>h5<68>write<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>.image, xy, box_size, text, font=None, **kwargs<67>h]<5D>(h<>)<29><>}<7D>(h<05>image<67>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image<67>h]<5D>h5<68>image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>xy<78>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>xy<78>h]<5D>h5<68>xy<78><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>box_size<7A>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>box_size<7A>h]<5D>h5<68>box_size<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j9h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j5ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>text<78>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>text<78>h]<5D>h5<68>text<78><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jQh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jMubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05> font=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>font<6E>h]<5D>h5<68>font<6E><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jih%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jeubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jwh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jeubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$jeubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05>**kwargs<67>h]<5D>(h<>)<29><>}<7D>(h<05>**<2A>h]<5D>h5<68>**<2A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>kwargs<67>h]<5D>h5<68>kwargs<67><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.custom.functions<6E>jOhjPj<>jQj<>j<><00><>jS<00>write()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Writes text on a image.<2E>h]<5D>h5<68>Writes text on a image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions.write<74>h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>;Writes given text at given position on the specified image.<2E>h]<5D>h5<68>;Writes given text at given position on the specified image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(hX\Args:
- image: The image to draw this text on, usually im_black or im_colour.
- xy: tuple-> (x,y) representing the x and y co-ordinate.
- box_size: tuple -> (width, height) representing the size of the text box.
- text: string, the actual text to add on the image.
- font: A PIL Font object e.g.
ImageFont.truetype(fonts['fontname'], size = 10).
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(K h$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>Eimage: The image to draw this text on, usually im_black or im_colour.<2E>h]<5D>hS)<29><>}<7D>(hj h]<5D>h5<68>Eimage: The image to draw this text on, usually im_black or im_colour.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubj<62>)<29><>}<7D>(h<05>7xy: tuple-> (x,y) representing the x and y co-ordinate.<2E>h]<5D>hS)<29><>}<7D>(hj#h]<5D>h5<68>7xy: tuple-> (x,y) representing the x and y co-ordinate.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j%h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubj<62>)<29><>}<7D>(h<05>Ibox_size: tuple -> (width, height) representing the size of the text box.<2E>h]<5D>hS)<29><>}<7D>(hj:h]<5D>h5<68>Ibox_size: tuple -> (width, height) representing the size of the text box.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j8ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubj<62>)<29><>}<7D>(h<05>2text: string, the actual text to add on the image.<2E>h]<5D>hS)<29><>}<7D>(hjQh]<5D>h5<68>2text: string, the actual text to add on the image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jSh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$jOubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubj<62>)<29><>}<7D>(h<05>Ofont: A PIL Font object e.g.
ImageFont.truetype(fonts['fontname'], size = 10).
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Nfont: A PIL Font object e.g.
ImageFont.truetype(fonts['fontname'], size = 10).<2E>h]<5D>h5<68>Rfont: A PIL Font object e.g.
ImageFont.truetype(fonts[fontname], size = 10).<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jjh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K
h$jfubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(K h$j<>ubj|)<29><>}<7D>(hX|Args: (optional)
- alignment: alignment of the text, use 'center', 'left', 'right'.
- autofit: bool (True/False). Automatically increases fontsize to fill in
as much of the box-height as possible.
- colour: black by default, do not change as it causes issues with rendering
on e-Paper.
- rotation: Rotate the text with the text-box by a given angle anti-clockwise.
- fill_width: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full width of text-box.
- fill_height: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full height of the text-box.<2E>h]<5D>(j<>)<29><>}<7D>(h<05>Args: (optional)<29>h]<5D>h5<68>Args: (optional)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>@alignment: alignment of the text, use 'center', 'left', 'right'.<2E>h]<5D>hS)<29><>}<7D>(hj<>h]<5D>h5<68>Lalignment: alignment of the text, use center, left, right.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>nautofit: bool (True/False). Automatically increases fontsize to fill in
as much of the box-height as possible.<2E>h]<5D>hS)<29><>}<7D>(h<05>nautofit: bool (True/False). Automatically increases fontsize to fill in
as much of the box-height as possible.<2E>h]<5D>h5<68>nautofit: bool (True/False). Automatically increases fontsize to fill in
as much of the box-height as possible.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>Vcolour: black by default, do not change as it causes issues with rendering
on e-Paper.<2E>h]<5D>hS)<29><>}<7D>(h<05>Vcolour: black by default, do not change as it causes issues with rendering
on e-Paper.<2E>h]<5D>h5<68>Vcolour: black by default, do not change as it causes issues with rendering
on e-Paper.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>Lrotation: Rotate the text with the text-box by a given angle anti-clockwise.<2E>h]<5D>hS)<29><>}<7D>(hj<>h]<5D>h5<68>Lrotation: Rotate the text with the text-box by a given angle anti-clockwise.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05>~fill_width: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full width of text-box.<2E>h]<5D>hS)<29><>}<7D>(h<05>~fill_width: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full width of text-box.<2E>h]<5D>h5<68>~fill_width: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full width of text-box.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubj<62>)<29><>}<7D>(h<05><>fill_height: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full height of the text-box.<2E>h]<5D>hS)<29><>}<7D>(h<05><>fill_height: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full height of the text-box.<2E>h]<5D>h5<68><35>fill_height: Decimal representing a percentage e.g. 0.9 # 90%. Fill a
maximum of 90% of the size of the full height of the text-box.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(Kh$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>function<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jWj<>jXj<>jXj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<> h&Nh(Nubeh}<7D>(h]<5D>(j <00>custom-functions<6E>eh]<5D>h]<5D><>custom functions<6E>ah]<5D>h]<5D>uh#h)h$hh%hh&h'h(Kubh*)<29><>}<7D>(hhh]<5D>(h/)<29><>}<7D>(h<05>Helper classes<65>h]<5D>h5<68>Helper classes<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jgh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#h.h$jdh%hh&h'h(KubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hM<68>#module; inkycal.modules.ical_parser<65><72>"module-inkycal.modules.ical_parser<65>hNt<4E>auh#h@h$jdh%hh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser<65>h(NubhS)<29><>}<7D>(h<05>6Inkycal iCalendar parsing module
Copyright by aceisace<63>h]<5D>h5<68>6Inkycal iCalendar parsing module
Copyright by aceisace<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jdh%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>0iCalendar (class in inkycal.modules.ical_parser)<29><>%inkycal.modules.ical_parser.iCalendar<61>hNt<4E>auh#h@h$jdh%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05> iCalendar()<29>h]<5D>(h})<29><>}<7D>(h<05>2[<#text: 'class'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>class<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j<>h%hh&<26>u/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar<61>h(Kubh<62>)<29><>}<7D>(h<05>inkycal.modules.ical_parser.<2E>h]<5D>h5<68>inkycal.modules.ical_parser.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05> iCalendar<61>h]<5D>h5<68> iCalendar<61><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOhjPj<>jQj<>j<><00><>jSj<>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>ViCalendar parsing moudule for inkycal.
Parses events from given iCalendar URLs / paths<68>h]<5D>h5<68>ViCalendar parsing moudule for inkycal.
Parses events from given iCalendar URLs / paths<68><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>u/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar<61>h(Kh$j<>h%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>?all_day() (inkycal.modules.ical_parser.iCalendar static method)<29><>-inkycal.modules.ical_parser.iCalendar.all_day<61>hNt<4E>auh#h@h$j<>h%hh&<26>}/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.all_day<61>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>iCalendar.all_day(event)<29>h]<5D>(h})<29><>}<7D>(h<05>3[<#text: 'static'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>static<69><63><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j h%hh&<26>}/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.all_day<61>h(Kubh<62>)<29><>}<7D>(h<05>all_day<61>h]<5D>h5<68>all_day<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j-h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j h%hh&j,h(Kubh<62>)<29><>}<7D>(h<05>event<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>event<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>event<6E>h]<5D>h5<68>event<6E><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jCh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j?ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j;ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j h%hh&j,h(Kubeh}<7D>(h]<5D>jah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.all_day<61>jQjc<00> iCalendar<61><72>all_day<61><79><EFBFBD>jS<00>iCalendar.all_day()<29>uh#hvh&j,h(Kh$j h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>SCheck if an event is an all day event.
Returns True if event is all day, else False<73>h]<5D>h5<68>SCheck if an event is an all day event.
Returns True if event is all day, else False<73><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jlh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jh(Kh$jih%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j h%hh&j,h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>=clear_events() (inkycal.modules.ical_parser.iCalendar method)<29><>2inkycal.modules.ical_parser.iCalendar.clear_events<74>hNt<4E>auh#h@h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.clear_events<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>iCalendar.clear_events()<29>h]<5D>(h<>)<29><>}<7D>(h<05> clear_events<74>h]<5D>h5<68> clear_events<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.clear_events<74>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.clear_events<74>jQj<><00> iCalendar<61><72> clear_events<74><73><EFBFBD>jS<00>iCalendar.clear_events()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>clear previously parsed events<74>h]<5D>h5<68>clear previously parsed events<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>;get_events() (inkycal.modules.ical_parser.iCalendar method)<29><>0inkycal.modules.ical_parser.iCalendar.get_events<74>hNt<4E>auh#h@h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.get_events<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>AiCalendar.get_events(timeline_start, timeline_end, timezone=None)<29>h]<5D>(h<>)<29><>}<7D>(h<05>
get_events<EFBFBD>h]<5D>h5<68>
get_events<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.get_events<74>h(Kubh<62>)<29><>}<7D>(h<05>+timeline_start, timeline_end, timezone=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>timeline_start<72>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>timeline_start<72>h]<5D>h5<68>timeline_start<72><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05> timeline_end<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05> timeline_end<6E>h]<5D>h5<68> timeline_end<6E><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j'h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j#ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubh<62>)<29><>}<7D>(h<05> timezone=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>timezone<6E>h]<5D>h5<68>timezone<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j?h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j;ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jMh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j;ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j[h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j;ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&jh(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.get_events<74>jQj|<00> iCalendar<61><72>
get_events<EFBFBD><EFBFBD><EFBFBD>jS<00>iCalendar.get_events()<29>uh#hvh&jh(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(hXInput an arrow (time) object for:
* the beginning of timeline (events have to end after this time)
* the end of the timeline (events have to begin before this time)
* timezone if events should be formatted to local time
Returns a list of events sorted by date<74>h]<5D>h5XInput an arrow (time) object for:
* the beginning of timeline (events have to end after this time)
* the end of the timeline (events have to begin before this time)
* timezone if events should be formatted to local time
Returns a list of events sorted by date<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&jh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>Eget_system_tz() (inkycal.modules.ical_parser.iCalendar static method)<29><>3inkycal.modules.ical_parser.iCalendar.get_system_tz<74>hNt<4E>auh#h@h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.get_system_tz<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>iCalendar.get_system_tz()<29>h]<5D>(h})<29><>}<7D>(h<05>3[<#text: 'static'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>static<69><63><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.get_system_tz<74>h(Kubh<62>)<29><>}<7D>(h<05> get_system_tz<74>h]<5D>h5<68> get_system_tz<74><7A><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.get_system_tz<74>jQj<><00> iCalendar<61><72> get_system_tz<74><7A><EFBFBD>jS<00>iCalendar.get_system_tz()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>"Get the timezone set by the system<65>h]<5D>h5<68>"Get the timezone set by the system<65><6D><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jj<>jj<>jj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>?load_from_file() (inkycal.modules.ical_parser.iCalendar method)<29><>4inkycal.modules.ical_parser.iCalendar.load_from_file<6C>hNt<4E>auh#h@h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.load_from_file<6C>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>"iCalendar.load_from_file(filepath)<29>h]<5D>(h<>)<29><>}<7D>(h<05>load_from_file<6C>h]<5D>h5<68>load_from_file<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j-h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j)h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.load_from_file<6C>h(Kubh<62>)<29><>}<7D>(h<05>filepath<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>filepath<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>filepath<74>h]<5D>h5<68>filepath<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jDh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j@ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j)h%hh&j;h(Kubeh}<7D>(h]<5D>j#ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.load_from_file<6C>jQjd<00> iCalendar<61><72>load_from_file<6C><65><EFBFBD>jS<00>iCalendar.load_from_file()<29>uh#hvh&j;h(Kh$j&h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05><>Input a string or list of strings containing valid iCalendar filepaths
example: 'path1' (single file) OR ['path1', 'path2'] (multiple files)
returns a list of iCalendars as string (raw)<29>h]<5D>h5<68><35>Input a string or list of strings containing valid iCalendar filepaths
example: path1 (single file) OR [path1, path2] (multiple files)
returns a list of iCalendars as string (raw)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jmh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j%h(Kh$jjh%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j&h%hh&j;h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j%h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>9load_url() (inkycal.modules.ical_parser.iCalendar method)<29><>.inkycal.modules.ical_parser.iCalendar.load_url<72>hNt<4E>auh#h@h$j<>h%hh&<26>~/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.load_url<72>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>5iCalendar.load_url(url, username=None, password=None)<29>h]<5D>(h<>)<29><>}<7D>(h<05>load_url<72>h]<5D>h5<68>load_url<72><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>~/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.load_url<72>h(Kubh<62>)<29><>}<7D>(h<05>!url, username=None, password=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>url<72>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>url<72>h]<5D>h5<68>url<72><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05> username=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>username<6D>h]<5D>h5<68>username<6D><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05> password=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>password<72>h]<5D>h5<68>password<72><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.load_url<72>jQj@<00> iCalendar<61><72>load_url<72><6C><EFBFBD>jS<00>iCalendar.load_url()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05><>Input a string or list of strings containing valid iCalendar URLs
example: 'URL1' (single url) OR ['URL1', 'URL2'] (multiple URLs)
add username and password to access protected files<65>h]<5D>h5<68><35>Input a string or list of strings containing valid iCalendar URLs
example: URL1 (single url) OR [URL1, URL2] (multiple URLs)
add username and password to access protected files<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jIh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jFh%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j`j<>jaj<>jaj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&j<>h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68><show_events() (inkycal.modules.ical_parser.iCalendar method)<29><>1inkycal.modules.ical_parser.iCalendar.show_events<74>hNt<4E>auh#h@h$j<>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.show_events<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>,iCalendar.show_events(fmt='DD MMM YY HH:mm')<29>h]<5D>(h<>)<29><>}<7D>(h<05> show_events<74>h]<5D>h5<68> show_events<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j{h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jwh%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.show_events<74>h(Kubh<62>)<29><>}<7D>(h<05>fmt='DD MMM YY HH:mm'<27>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>fmt='DD MMM YY HH:mm'<27>h]<5D>(h<>)<29><>}<7D>(h<05>fmt<6D>h]<5D>h5<68>fmt<6D><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>'DD MMM YY HH:mm'<27>h]<5D>h5<68>'DD MMM YY HH:mm'<27><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jwh%hh&j<>h(Kubeh}<7D>(h]<5D>jqah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.show_events<74>jQj<><00> iCalendar<61><72> show_events<74><73><EFBFBD>jS<00>iCalendar.show_events()<29>uh#hvh&j<>h(Kh$jth%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05><>print all parsed events in a more readable way
use the format (fmt) parameter to specify the date format
see https://arrow.readthedocs.io/en/latest/#supported-tokens
for more info tokens<6E>h]<5D>(h5<68>mprint all parsed events in a more readable way
use the format (fmt) parameter to specify the date format
see <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubh <09> reference<63><65><EFBFBD>)<29><>}<7D>(h<05>8https://arrow.readthedocs.io/en/latest/#supported-tokens<6E>h]<5D>h5<68>8https://arrow.readthedocs.io/en/latest/#supported-tokens<6E><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refuri<72>j<EFBFBD>uh#j<>h$j<>ubh5<68>
for more info tokens<6E><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jsh(Kh$j<>h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jth%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jj<>jj<>jj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jsh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>5sort() (inkycal.modules.ical_parser.iCalendar method)<29><>*inkycal.modules.ical_parser.iCalendar.sort<72>hNt<4E>auh#h@h$j<>h%hh&<26>z/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.sort<72>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>iCalendar.sort()<29>h]<5D>(h<>)<29><>}<7D>(h<05>sort<72>h]<5D>h5<68>sort<72><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jh%hh&<26>z/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser.iCalendar.sort<72>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jh%hh&j-h(Kubeh}<7D>(h]<5D>jah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.ical_parser<65>jOj<>jP<00>iCalendar.sort<72>jQj><00> iCalendar<61><72>sort<72><74><EFBFBD>jS<00>iCalendar.sort()<29>uh#hvh&j-h(Kh$jh%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>1Sort all parsed events in order of beginning time<6D>h]<5D>h5<68>1Sort all parsed events in order of beginning time<6D><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jGh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jh(Kh$jDh%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jh%hh&j-h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j^j<>j_j<>j_j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j<>h&jh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>class<73>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jlj<>jmj<>jmj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jdh&Nh(Nubh <09>target<65><74><EFBFBD>)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D><>!module-inkycal.modules.inky_image<67>ah]<5D>h]<5D>h]<5D>h]<5D><>ismod<6F><64>uh#jqh&<26>i/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image<67>h(Kh$jdh%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hM<68>"module; inkycal.modules.inky_image<67>jxhNt<4E>auh#h@h$jdh%hh&<26>i/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image<67>h(NubhS)<29><>}<7D>(h<05>xCustom image class for Inkycal Project
Takes care of handling images. Made to be used by other modules to handle
images.<2E>h]<5D>h5<68>xCustom image class for Inkycal Project
Takes care of handling images. Made to be used by other modules to handle
images.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jdh%hubhS)<29><>}<7D>(h<05>Copyright by aceisace<63>h]<5D>h5<68>Copyright by aceisace<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jdh%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>/Inkyimage (class in inkycal.modules.inky_image)<29><>$inkycal.modules.inky_image.Inkyimage<67>hNt<4E>auh#h@h$jdh%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage(image=None)<29>h]<5D>(h})<29><>}<7D>(h<05>2[<#text: 'class'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>class<73><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j<>h%hh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage<67>h(Kubh<62>)<29><>}<7D>(h<05>inkycal.modules.inky_image.<2E>h]<5D>h5<68>inkycal.modules.inky_image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05> Inkyimage<67>h]<5D>h5<68> Inkyimage<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubh<62>)<29><>}<7D>(h<05>
image=None<6E>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>
image=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>image<67>h]<5D>h5<68>image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOhjPj<>jQj<j<><00><>jSj<>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>=Custom Imge class written for commonly used image operations.<2E>h]<5D>h5<68>=Custom Imge class written for commonly used image operations.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jAh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>s/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage<67>h(Kh$j>h%hubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>8autoflip() (inkycal.modules.inky_image.Inkyimage method)<29><>-inkycal.modules.inky_image.Inkyimage.autoflip<69>hNt<4E>auh#h@h$j>h%hh&<26>|/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.autoflip<69>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.autoflip(layout)<29>h]<5D>(h<>)<29><>}<7D>(h<05>autoflip<69>h]<5D>h5<68>autoflip<69><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jfh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jbh%hh&<26>|/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.autoflip<69>h(Kubh<62>)<29><>}<7D>(h<05>layout<75>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>layout<75>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>layout<75>h]<5D>h5<68>layout<75><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j}h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jyubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$juubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jbh%hh&jth(Kubeh}<7D>(h]<5D>j\ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.autoflip<69>jQj<><00> Inkyimage<67><65>autoflip<69><70><EFBFBD>jS<00>Inkyimage.autoflip()<29>uh#hvh&jth(Kh$j_h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>2flips the image automatically to the given layout.<2E>h]<5D>h5<68>2flips the image automatically to the given layout.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>:Args:
- layout:-> str. Choose `horizontal` or `vertical`.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j^h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>2layout:-> str. Choose `horizontal` or `vertical`.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>1layout:-> str. Choose `horizontal` or `vertical`.<2E>h]<5D>(h5<68>layout:-> str. Choose <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubj!)<29><>}<7D>(h<05> `horizontal`<60>h]<5D>h5<68>
horizontal<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j<>ubh5<68> or <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubj!)<29><>}<7D>(h<05>
`vertical`<60>h]<5D>h5<68>vertical<61><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j<>ubh5<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j^h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(NubhS)<29><>}<7D>(h<05>$Checks the image's width and height.<2E>h]<5D>h5<68>&Checks the images width and height.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>]In horizontal mode, the image is flipped if the image height is greater
than the image width.<2E>h]<5D>h5<68>]In horizontal mode, the image is flipped if the image height is greater
than the image width.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j1h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(Kh$j<>h%hubhS)<29><>}<7D>(h<05>[In vertical mode, the image is flipped if the image width is greater
than the image height.<2E>h]<5D>h5<68>[In vertical mode, the image is flipped if the image width is greater
than the image height.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j?h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j^h(K h$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j_h%hh&jth(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jVj<>jWj<>jWj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&j^h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>5clear() (inkycal.modules.inky_image.Inkyimage method)<29><>*inkycal.modules.inky_image.Inkyimage.clear<61>hNt<4E>auh#h@h$j>h%hh&<26>y/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.clear<61>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.clear()<29>h]<5D>(h<>)<29><>}<7D>(h<05>clear<61>h]<5D>h5<68>clear<61><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jqh%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jmh%hh&<26>y/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.clear<61>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jmh%hh&jh(Kubeh}<7D>(h]<5D>jgah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.clear<61>jQj<><00> Inkyimage<67><65>clear<61><72><EFBFBD>jS<00>Inkyimage.clear()<29>uh#hvh&jh(Kh$jjh%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>)Removes currently saved image if present.<2E>h]<5D>h5<68>)Removes currently saved image if present.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jih(Kh$j<>h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jjh%hh&jh(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>j<>j<>j<>j<>j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&jih(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>4flip() (inkycal.modules.inky_image.Inkyimage method)<29><>)inkycal.modules.inky_image.Inkyimage.flip<69>hNt<4E>auh#h@h$j>h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.flip(angle)<29>h]<5D>(h<>)<29><>}<7D>(h<05>flip<69>h]<5D>h5<68>flip<69><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.flip<69>h(Kubh<62>)<29><>}<7D>(h<05>angle<6C>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>angle<6C>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>angle<6C>h]<5D>h5<68>angle<6C><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j<EFBFBD>ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.flip<69>jQj<00> Inkyimage<67><65>flip<69><70><EFBFBD>jS<00>Inkyimage.flip()<29>uh#hvh&j<>h(Kh$j<>h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>#Flips the image by the given angle.<2E>h]<5D>h5<68>#Flips the image by the given angle.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j
h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.flip<69>h(Kh$jh%hubjw)<29><>}<7D>(hhh]<5D>j|)<29><>}<7D>(h<05>>Args:
- angle:->int. A multiple of 90, e.g. 90, 180, 270, 360.<2E>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jh(Kh$jubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>6angle:->int. A multiple of 90, e.g. 90, 180, 270, 360.<2E>h]<5D>hS)<29><>}<7D>(hj6h]<5D>h5<68>6angle:->int. A multiple of 90, e.g. 90, 180, 270, 360.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j8h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jh(Kh$j4ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j1ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jh(Kh$j.ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jh(Kh$jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$jh%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>jlj<>jmj<>jmj<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>4load() (inkycal.modules.inky_image.Inkyimage method)<29><>)inkycal.modules.inky_image.Inkyimage.load<61>hNt<4E>auh#h@h$j>h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.load(path)<29>h]<5D>(h<>)<29><>}<7D>(h<05>load<61>h]<5D>h5<68>load<61><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.load<61>h(Kubh<62>)<29><>}<7D>(h<05>path<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>path<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>path<74>h]<5D>h5<68>path<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>j}ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.load<61>jQj<><00> Inkyimage<67><65>load<61><64><EFBFBD>jS<00>Inkyimage.load()<29>uh#hvh&j<>h(Kh$jh%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>&loads an image from a URL or filepath.<2E>h]<5D>h5<68>&loads an image from a URL or filepath.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>x/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.load<61>h(Kh$j<>h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05>~Args:
- path:The full path or url of the image file
e.g. `https://sample.com/logo.png` or `/home/pi/Downloads/nice_pic.png`
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(Kh$j<>ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>tpath:The full path or url of the image file
e.g. `https://sample.com/logo.png` or `/home/pi/Downloads/nice_pic.png`
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>spath:The full path or url of the image file
e.g. `https://sample.com/logo.png` or `/home/pi/Downloads/nice_pic.png`<60>h]<5D>(h5<68>1path:The full path or url of the image file
e.g. <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubj!)<29><>}<7D>(h<05>`https://sample.com/logo.png`<60>h]<5D>h5<68>https://sample.com/logo.png<6E><67><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j<>ubh5<68> or <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>h%hh&Nh(Nubj!)<29><>}<7D>(h<05>!`/home/pi/Downloads/nice_pic.png`<60>h]<5D>h5<68>/home/pi/Downloads/nice_pic.png<6E><67><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(Kh$j<>ubj|)<29><>}<7D>(h<05><>Raises:
- FileNotFoundError: This Exception is raised when the file could not be
found.
- OSError: A OSError is raised when the URL doesn't point to the correct
file-format, i.e. is not an image
- TypeError: if the URLS doesn't start with htpp<70>h]<5D>(j<>)<29><>}<7D>(h<05>Raises:<3A>h]<5D>h5<68>Raises:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>h(K h$j: ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>MFileNotFoundError: This Exception is raised when the file could not be
found.<2E>h]<5D>hS)<29><>}<7D>(h<05>MFileNotFoundError: This Exception is raised when the file could not be
found.<2E>h]<5D>h5<68>MFileNotFoundError: This Exception is raised when the file could not be
found.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jV h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(Kh$jR ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jO ubj<62>)<29><>}<7D>(h<05>hOSError: A OSError is raised when the URL doesn't point to the correct
file-format, i.e. is not an image<67>h]<5D>hS)<29><>}<7D>(h<05>hOSError: A OSError is raised when the URL doesn't point to the correct
file-format, i.e. is not an image<67>h]<5D>h5<68>jOSError: A OSError is raised when the URL doesnt point to the correct
file-format, i.e. is not an image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jn h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K
h$jj ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jO ubj<62>)<29><>}<7D>(h<05>.TypeError: if the URLS doesn't start with htpp<70>h]<5D>hS)<29><>}<7D>(hj<> h]<5D>h5<68>0TypeError: if the URLS doesnt start with htpp<70><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>h(K h$j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jO ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>h(Kh$jL ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j: ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>h(K h$j<>h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$j<>h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$jh%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<> j<>j<> j<>j<> j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68><merge() (inkycal.modules.inky_image.Inkyimage static method)<29><>*inkycal.modules.inky_image.Inkyimage.merge<67>hNt<4E>auh#h@h$j>h%hh&Nh(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.merge(image1, image2)<29>h]<5D>(h})<29><>}<7D>(h<05>3[<#text: 'static'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>static<69><63><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j<> h%hh&<26>y/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.merge<67>h(Kubh<62>)<29><>}<7D>(h<05>merge<67>h]<5D>h5<68>merge<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<> h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> h%hh&j<> h(Kubh<62>)<29><>}<7D>(h<05>image1, image2<65>h]<5D>(h<>)<29><>}<7D>(h<05>image1<65>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image1<65>h]<5D>h5<68>image1<65><31><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> ubh<62>)<29><>}<7D>(h<05>image2<65>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image2<65>h]<5D>h5<68>image2<65><32><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<> h%hh&j<> h(Kubeh}<7D>(h]<5D>j<EFBFBD> ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.merge<67>jQj?!<00> Inkyimage<67><65>merge<67><65><EFBFBD>jS<00>Inkyimage.merge()<29>uh#hvh&j<> h(Kh$j<> h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>Merges two images into one.<2E>h]<5D>h5<68>Merges two images into one.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jH!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&<26>y/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.merge<67>h(Kh$jE!h%hubhS)<29><>}<7D>(h<05>nReplaces white pixels of the first image with transparent ones. Then pastes
the first image on the second one.<2E>h]<5D>h5<68>nReplaces white pixels of the first image with transparent ones. Then pastes
the first image on the second one.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jW!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jV!h(Kh$jE!h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05>`Args:
- image1: A PIL Image object in 'RGBA' mode.
- image2: A PIL Image object in 'RGBA' mode.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jl!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jV!h(Kh$jh!ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>*image1: A PIL Image object in 'RGBA' mode.<2E>h]<5D>hS)<29><>}<7D>(hj<>!h]<5D>h5<68>.image1: A PIL Image object in RGBA mode.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jV!h(Kh$j<>!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j}!ubj<62>)<29><>}<7D>(h<05>+image2: A PIL Image object in 'RGBA' mode.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>*image2: A PIL Image object in 'RGBA' mode.<2E>h]<5D>h5<68>.image2: A PIL Image object in RGBA mode.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jV!h(Kh$j<>!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j}!ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jV!h(Kh$jz!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jh!ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jV!h(Kh$je!ubj|)<29><>}<7D>(h<05>Returns:
- A single image.<2E>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&jV!h(K
h$j<>!ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>A single image.<2E>h]<5D>hS)<29><>}<7D>(hj<>!h]<5D>h5<68>A single image.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>!h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&jV!h(K h$j<>!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&jV!h(K h$j<>!ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>!ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&jV!h(K
h$je!h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$jE!h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<> h%hh&j<> h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j"j<>j"j<>j"j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&Nh(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>>preview() (inkycal.modules.inky_image.Inkyimage static method)<29><>,inkycal.modules.inky_image.Inkyimage.preview<65>hNt<4E>auh#h@h$j>h%hh&<26>{/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.preview<65>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.preview(image)<29>h]<5D>(h})<29><>}<7D>(h<05>3[<#text: 'static'>, <desc_sig_space: <#text: ' '>>]<5D>h]<5D>(h5<68>static<69><63><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j,"h%hh&Nh(Nubh<62>)<29><>}<7D>(h<05> <20>h]<5D>h5<68> <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j4"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j,"ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h|h$j("h%hh&<26>{/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.preview<65>h(Kubh<62>)<29><>}<7D>(h<05>preview<65>h]<5D>h5<68>preview<65><77><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jI"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j("h%hh&jH"h(Kubh<62>)<29><>}<7D>(h<05>image<67>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image<67>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>image<67>h]<5D>h5<68>image<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j_"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j["ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$jW"ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j("h%hh&jH"h(Kubeh}<7D>(h]<5D>j""ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.preview<65>jQj"<00> Inkyimage<67><65>preview<65><77><EFBFBD>jS<00>Inkyimage.preview()<29>uh#hvh&jH"h(Kh$j%"h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>E"Previews an image on gpicview (only works on Rapsbian with Desktop).<2E>h]<5D>h5<68>G“Previews an image on gpicview (only works on Rapsbian with Desktop).<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j$"h(Kh$j<>"h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j%"h%hh&jH"h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>"j<>j<>"j<>j<>"j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&j$"h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68><remove_alpha() (inkycal.modules.inky_image.Inkyimage method)<29><>1inkycal.modules.inky_image.Inkyimage.remove_alpha<68>hNt<4E>auh#h@h$j>h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.remove_alpha<68>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>Inkyimage.remove_alpha()<29>h]<5D>(h<>)<29><>}<7D>(h<05> remove_alpha<68>h]<5D>h5<68> remove_alpha<68><61><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>"h%hh&<26><>/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.remove_alpha<68>h(Kubh<62>)<29><>}<7D>(h<05>()<29>h]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>"h%hh&j<>"h(Kubeh}<7D>(h]<5D>j<EFBFBD>"ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.remove_alpha<68>jQj<>"<00> Inkyimage<67><65> remove_alpha<68><61><EFBFBD>jS<00>Inkyimage.remove_alpha()<29>uh#hvh&j<>"h(Kh$j<>"h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>/Removes transparency if image has transparency.<2E>h]<5D>h5<68>/Removes transparency if image has transparency.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>"h(Kh$j<>"h%hubhS)<29><>}<7D>(h<05>UChecks if an image has an alpha band and replaces the transparency with
white pixels.<2E>h]<5D>h5<68>UChecks if an image has an alpha band and replaces the transparency with
white pixels.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>"h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>"h(Kh$j<>"h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>"h%hh&j<>"h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j#j<>j#j<>j#j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&j<>"h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>6resize() (inkycal.modules.inky_image.Inkyimage method)<29><>+inkycal.modules.inky_image.Inkyimage.resize<7A>hNt<4E>auh#h@h$j>h%hh&<26>z/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.resize<7A>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>)Inkyimage.resize(width=None, height=None)<29>h]<5D>(h<>)<29><>}<7D>(h<05>resize<7A>h]<5D>h5<68>resize<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j"#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j#h%hh&<26>z/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.resize<7A>h(Kubh<62>)<29><>}<7D>(h<05>width=None, height=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>
width=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>width<74>h]<5D>h5<68>width<74><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j9#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j5#ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jG#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j5#ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jU#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j5#ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j1#ubh<62>)<29><>}<7D>(h<05> height=None<6E>h]<5D>(h<>)<29><>}<7D>(h<05>height<68>h]<5D>h5<68>height<68><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jn#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jj#ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j|#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$jj#ubh<62>)<29><>}<7D>(h<05>None<6E>h]<5D>h5<68>None<6E><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$jj#ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j1#ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j#h%hh&j0#h(Kubeh}<7D>(h]<5D>j#ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.resize<7A>jQj<>#<00> Inkyimage<67><65>resize<7A><65><EFBFBD>jS<00>Inkyimage.resize()<29>uh#hvh&j0#h(Kh$j#h%hubjU)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(h<05>*Resize an image to desired width or height<68>h]<5D>h5<68>*Resize an image to desired width or height<68><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j#h(Kh$j<>#h%hubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j#h%hh&j0#h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>#j<>j<>#j<>j<>#j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&j#h(NubhA)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>entries<65>]<5D>(hm<68>:to_palette() (inkycal.modules.inky_image.Inkyimage method)<29><>/inkycal.modules.inky_image.Inkyimage.to_palette<74>hNt<4E>auh#h@h$j>h%hh&<26>~/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.to_palette<74>h(Nubhr)<29><>}<7D>(hhh]<5D>(hw)<29><>}<7D>(h<05>*Inkyimage.to_palette(palette, dither=True)<29>h]<5D>(h<>)<29><>}<7D>(h<05>
to_palette<EFBFBD>h]<5D>h5<68>
to_palette<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>(h<>h<EFBFBD>eh]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>#h%hh&<26>~/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/inky_image.py:docstring of inkycal.modules.inky_image.Inkyimage.to_palette<74>h(Kubh<62>)<29><>}<7D>(h<05>palette, dither=True<75>h]<5D>(h<>)<29><>}<7D>(h<05>palette<74>h]<5D>h<EFBFBD>)<29><>}<7D>(h<05>palette<74>h]<5D>h5<68>palette<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>#h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j<>#ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>#ubh<62>)<29><>}<7D>(h<05> dither=True<75>h]<5D>(h<>)<29><>}<7D>(h<05>dither<65>h]<5D>h5<68>dither<65><72><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j$ubh<62>)<29><>}<7D>(h<05>=<3D>h]<5D>h5<68>=<3D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j#$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D>uh#h<>h$j$ubh<62>)<29><>}<7D>(h<05>True<75>h]<5D>h5<68>True<75><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j1$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h<EFBFBD>ah]<5D>h]<5D>h]<5D><>support_smartquotes<65><73>uh#h<>h$j$ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>#ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#h<>h$j<>#h%hh&j<>#h(Kubeh}<7D>(h]<5D>j<EFBFBD>#ah]<5D>(jHjIeh]<5D>h]<5D>h]<5D>jM<00>inkycal.modules.inky_image<67>jOj<>jP<00>Inkyimage.to_palette<74>jQjR$<00> Inkyimage<67><65>
to_palette<EFBFBD><EFBFBD><EFBFBD>jS<00>Inkyimage.to_palette()<29>uh#hvh&j<>#h(Kh$j<>#h%hubjU)<29><>}<7D>(hhh]<5D>(hS)<29><>}<7D>(h<05>(Maps an image to a given colour palette.<2E>h]<5D>h5<68>(Maps an image to a given colour palette.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j[$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(Kh$jX$h%hubhS)<29><>}<7D>(h<05><Maps each pixel from the image to a colour from the palette.<2E>h]<5D>h5<68><Maps each pixel from the image to a colour from the palette.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$ji$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(Kh$jX$h%hubjw)<29><>}<7D>(hhh]<5D>(j|)<29><>}<7D>(h<05>wArgs:
- palette: A supported token. (see below)
- dither:->bool. Use dithering? Set to `False` for solid colour fills.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Args:<3A>h]<5D>h5<68>Args:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j~$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>#h(Kh$jz$ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>(j<>)<29><>}<7D>(h<05>'palette: A supported token. (see below)<29>h]<5D>hS)<29><>}<7D>(hj<>$h]<5D>h5<68>'palette: A supported token. (see below)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(Kh$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>$ubj<62>)<29><>}<7D>(h<05>Edither:->bool. Use dithering? Set to `False` for solid colour fills.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Ddither:->bool. Use dithering? Set to `False` for solid colour fills.<2E>h]<5D>(h5<68>%dither:->bool. Use dithering? Set to <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>$h%hh&Nh(Nubj!)<29><>}<7D>(h<05>`False`<60>h]<5D>h5<68>False<73><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j h$j<>$ubh5<68> for solid colour fills.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>$h%hh&Nh(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(Kh$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>$ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>#h(Kh$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$jz$ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>#h(Kh$jw$ubj|)<29><>}<7D>(h<05>MReturns:
- two images: one for the coloured band and one for the black band.
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Returns:<3A>h]<5D>h5<68>Returns:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j<>$h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>#h(K
h$j<>$ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>Btwo images: one for the coloured band and one for the black band.
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>Atwo images: one for the coloured band and one for the black band.<2E>h]<5D>h5<68>Atwo images: one for the coloured band and one for the black band.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j%h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(K
h$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>#h(K
h$j<>$ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<>$ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>#h(K
h$jw$h%hubj|)<29><>}<7D>(h<05>7Raises:
- ValueError if palette token is not supported
<EFBFBD>h]<5D>(j<>)<29><>}<7D>(h<05>Raises:<3A>h]<5D>h5<68>Raises:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$j+%h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h&j<>#h(K h$j'%ubj<62>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(hhh]<5D>j<EFBFBD>)<29><>}<7D>(h<05>-ValueError if palette token is not supported
<EFBFBD>h]<5D>hS)<29><>}<7D>(h<05>,ValueError if palette token is not supported<65>h]<5D>h5<68>,ValueError if palette token is not supported<65><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jC%h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(K h$j?%ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j<%ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>j<>uh#j<>h&j<>#h(K h$j9%ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j<>h$j'%ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#j{h&j<>#h(K h$jw$h%hubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jvh$jX$h%hh&Nh(NubhS)<29><>}<7D>(h<05>Supported palette tokens:<3A>h]<5D>h5<68>Supported palette tokens:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h$jo%h%hh&Nh(Nubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh&j<>#h(Kh$jX$h%hubj0
)<29><>}<7D>(h<05>R>>> 'bwr' # black-white-red
>>> 'bwy' # black-white-yellow
>>> 'bw' # black-white<74>h]<5D>h5<68>R>>> 'bwr' # black-white-red
>>> 'bwy' # black-white-yellow
>>> 'bw' # black-white<74><65><EFBFBD><EFBFBD><EFBFBD>}<7D>h$j}%sbah}<7D>(h]<5D>h]<5D>j<
ah]<5D>h]<5D>h]<5D>h<EFBFBD>h<EFBFBD>uh#j/
h$jX$h%hh&j<>#h(Kubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>#h%hh&j<>#h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>method<6F>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>%j<>j<>%j<>j<>%j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$j>h&j<>#h(Nubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#jTh$j<>h%hh&j<>h(Kubeh}<7D>(h]<5D>h]<5D>(<28>py<70><79>class<73>eh]<5D>h]<5D>h]<5D>j<EFBFBD>j<>%j<>j<>%j<>j<>%j<><00>j<EFBFBD><00>j<EFBFBD><00>uh#hqh%hh$jdh&Nh(Nubeh}<7D>(h]<5D>(j<><00>helper-classes<65>eh]<5D>h]<5D><>helper classes<65>ah]<5D>h]<5D>uh#h)h$hh%hh&h'h(Kubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>source<63>h'uh#h<01>current_source<63>N<EFBFBD> current_line<6E>N<EFBFBD>settings<67><73>docutils.frontend<6E><64>Values<65><73><EFBFBD>)<29><>}<7D>(h.N<> generator<6F>N<EFBFBD> datestamp<6D>N<EFBFBD> source_link<6E>N<EFBFBD>
source_url<EFBFBD>N<EFBFBD> toc_backlinks<6B><73>entry<72><79>footnote_backlinks<6B>K<01> sectnum_xform<72>K<01>strip_comments<74>N<EFBFBD>strip_elements_with_classes<65>N<EFBFBD> strip_classes<65>N<EFBFBD> report_level<65>K<02>
halt_level<EFBFBD>K<05>exit_status_level<65>K<05>debug<75>N<EFBFBD>warning_stream<61>N<EFBFBD> traceback<63><6B><EFBFBD>input_encoding<6E><67> utf-8-sig<69><67>input_encoding_error_handler<65><72>strict<63><74>output_encoding<6E><67>utf-8<><38>output_encoding_error_handler<65>j<EFBFBD>%<00>error_encoding<6E><67>utf-8<><38>error_encoding_error_handler<65><72>backslashreplace<63><65> language_code<64><65>en<65><6E>record_dependencies<65>N<EFBFBD>config<69>N<EFBFBD> id_prefix<69>h<06>auto_id_prefix<69><78>id<69><64> dump_settings<67>N<EFBFBD>dump_internals<6C>N<EFBFBD>dump_transforms<6D>N<EFBFBD>dump_pseudo_xml<6D>N<EFBFBD>expose_internals<6C>N<EFBFBD>strict_visitor<6F>N<EFBFBD>_disable_config<69>N<EFBFBD>_source<63>h'<27> _destination<6F>N<EFBFBD> _config_files<65>]<5D><>file_insertion_enabled<65><64><EFBFBD> raw_enabled<65>K<01>line_length_limit<69>M'<27>pep_references<65>N<EFBFBD> pep_base_url<72><6C>https://peps.python.org/<2F><>pep_file_url_template<74><65>pep-%04d<34><64>rfc_references<65>N<EFBFBD> rfc_base_url<72><6C>&https://datatracker.ietf.org/doc/html/<2F><> tab_width<74>K<08>trim_footnote_reference_space<63><65><EFBFBD>syntax_highlight<68><74>long<6E><67> smart_quotes<65><73><EFBFBD>smartquotes_locales<65>]<5D><>character_level_inline_markup<75><70><EFBFBD>doctitle_xform<72><6D><EFBFBD> docinfo_xform<72>K<01>sectsubtitle_xform<72><6D><EFBFBD> image_loading<6E><67>link<6E><6B>embed_stylesheet<65><74><EFBFBD>cloak_email_addresses<65><73><EFBFBD>section_self_link<6E><6B><EFBFBD>env<6E>Nub<75>reporter<65>N<EFBFBD>indirect_targets<74>]<5D><>substitution_defs<66>}<7D><>substitution_names<65>}<7D><>refnames<65>}<7D><>refids<64>}<7D><>nameids<64>}<7D>(j*j'j<> j<> jaj^j<>%j<>%u<> nametypes<65>}<7D>(j*<00>j<EFBFBD> <00>ja<00>j<EFBFBD>%<00>uh}<7D>(j'h+hOjr)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>hOah]<5D>h]<5D>h]<5D>h]<5D><>ismod<6F><64>uh#jqh&<26>M/Users/ace/Desktop/Projekte/Inkycal/inkycal/main.py:docstring of inkycal.main<69>h(Kh$h+h%hubhohxj5j:j<>j<>jjj<>j<>jEjKj<>j<>j<> j-jJjr)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>jJah]<5D>h]<5D>h]<5D>h]<5D><>ismod<6F><64>uh#jqh&<26>c/Users/ace/Desktop/Projekte/Inkycal/inkycal/display/display.py:docstring of inkycal.display.display<61>h(Kh$j-h%hubjgjljJjPjN jT jZ
j`
jh jn j^j<> j jr)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>j ah]<5D>h]<5D>h]<5D>h]<5D><>ismod<6F><64>uh#jqh&<26>e/Users/ace/Desktop/Projekte/Inkycal/inkycal/custom/functions.py:docstring of inkycal.custom.functions<6E>h(Kh$j<> h%hubjD jI jxj}j<>j<>j\jbjMjSj>jCj<>j<>j<>%jdj<>jr)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>j<EFBFBD>ah]<5D>h]<5D>h]<5D>h]<5D><>ismod<6F><64>uh#jqh&<26>k/Users/ace/Desktop/Projekte/Inkycal/inkycal/modules/ical_parser.py:docstring of inkycal.modules.ical_parser<65>h(Kh$jdh%hubj<62>j<>jj j<>j<>j<>j<>j<>j<>j#j)j<>j<>jqjwjjjxjsj<>j<>j\jbjgjmj<>j<>j}j<>j<> j<> j""j("j<>"j<>"j#j#j<>#j<>#u<> footnote_refs<66>}<7D><> citation_refs<66>}<7D><> autofootnotes<65>]<5D><>autofootnote_refs<66>]<5D><>symbol_footnotes<65>]<5D><>symbol_footnote_refs<66>]<5D><> footnotes<65>]<5D><> citations<6E>]<5D><>autofootnote_start<72>K<01>symbol_footnote_start<72>K<00>
id_counter<EFBFBD><EFBFBD> collections<6E><73>Counter<65><72><EFBFBD>}<7D><><EFBFBD>R<EFBFBD><52>parse_messages<65>]<5D><>transform_messages<65>]<5D>h <09>system_message<67><65><EFBFBD>)<29><>}<7D>(hhh]<5D>hS)<29><>}<7D>(hhh]<5D>h5<68>GHyperlink target "module-inkycal.modules.inky_image" is not referenced.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>h$jf&sbah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uh#hRh$jc&ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>level<65>K<01>type<70><65>INFO<46><4F>source<63>j~<00>line<6E>Kuh#ja&uba<62> transformer<65>N<EFBFBD> include_log<6F>]<5D><>
decoration<EFBFBD>Nh%hub.