Stub modules that re-create Kodi Python API
Project description
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.
Kodistubs also include `PEP-484`_ type annotations for all functions
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.
Current Kodistubs have been generated from scratch using Doxygen XML files and
SWIG XML Python binding definitions that, in their turn, have been generated
from Kodi sources. Old Kodistubs can be found in ``legacy`` branch.
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`_
.. _Kodi (XBMC): http://kodi.tv
.. _Discussion topic on Kodi forum: http://forum.kodi.tv/showthread.php?tid=173780
.. _GPL v.3: http://www.gnu.org/licenses/gpl.html
.. _Kodi stubs documentation: http://romanvm.github.io/Kodistubs/
.. _PEP-484:: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code
=========
(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.
Kodistubs also include `PEP-484`_ type annotations for all functions
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.
Current Kodistubs have been generated from scratch using Doxygen XML files and
SWIG XML Python binding definitions that, in their turn, have been generated
from Kodi sources. Old Kodistubs can be found in ``legacy`` branch.
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`_
.. _Kodi (XBMC): http://kodi.tv
.. _Discussion topic on Kodi forum: http://forum.kodi.tv/showthread.php?tid=173780
.. _GPL v.3: http://www.gnu.org/licenses/gpl.html
.. _Kodi stubs documentation: http://romanvm.github.io/Kodistubs/
.. _PEP-484:: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Kodistubs-17.6.1.tar.gz
(52.7 kB
view hashes)
Built Distribution
Kodistubs-17.6.1-py2-none-any.whl
(45.7 kB
view hashes)
Close
Hashes for Kodistubs-17.6.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2b0555852b27d458ce520d3bb29ce333c938ce6d73da713d125e08cb9a1ebe |
|
MD5 | 11dd4d8b08648b0d302793237a3d0233 |
|
BLAKE2b-256 | 0ae314dc223884f5ee3d5d30c4f70dde819c04c28c0792741b098601df94d60c |