### Install Kodistubs from Source Source: https://github.com/romanvm/kodistubs/blob/master/docs/using.md Install Kodistubs in your Python virtual environment using the setup.py script. ```default python setup.py install ``` -------------------------------- ### Install Kodistubs from PyPI Source: https://github.com/romanvm/kodistubs/blob/master/docs/using.md Install Kodistubs directly from the Python Package Index using pip. ```default pip install Kodistubs ``` -------------------------------- ### Type Hinted Function Signature Source: https://github.com/romanvm/kodistubs/blob/master/docs/using.md Example of a function with PEP-484 type annotations for arguments and return values. This allows static type checking with tools like mypy. ```python def getInfoLabel(cLine: str) -> str: """ Get a info label :param infotag: string - infoTag for value you want returned. :return: InfoLabel as a string List of InfoTags - http://kodi.wiki/view/InfoLabels Example:: .. label = xbmc.getInfoLabel('Weather.Conditions') .. """ return "" ``` -------------------------------- ### Sphinx Intersphinx Mapping Source: https://github.com/romanvm/kodistubs/blob/master/docs/using.md Configure Sphinx's intersphinx mapping to reference Kodi stubs documentation. This enables cross-references to Kodi Python API objects within your Sphinx-generated documentation. ```default intersphinx_mapping = { 'https://docs.python.org/3.8: None, 'http://romanvm.github.io/Kodistubs': None, # Reference to Kodi stubs } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.