/Kodistubs

(Former xbmcstubs) — stub Python functions and classes for Kodi mediacenter addon development:

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Kodistubs

(former xbmcstubs)

Kodi stubs are Python files that can help you develop addons for Kodi (XBMC) Media Center. Use them in your favorite IDE to enable autocompletion and view docstrings for Kodi Python API functions, classes and methods.

You can install Kodistubs into your working virtual environment using pip:

$ pip install git+https://github.com/romanvm/Kodistubs.git#egg=Kodistubs

Read Kodi stubs documentation for more info on how to use Kodi stubs.

Warning: Kodistubs are literally stubs and do not include any useful code, so don't try to run your program outside Kodi unless you add some testing code into Kodistubs or use some mocking library to mock Kodi Pyhton API.

Note: I try to keep Kodi stubs in sync with Kodi Python API development, but it may happen that I miss something. Don't hesitate to open issues or submit pull requests if you notice discrepancies with the actual state of Kodi Python API.

Discussion topic on Kodi forum

License: GPL v.3