Skip to main content

Stub modules that re-create Kodi Python API

Project description

https://badge.fury.io/py/Kodistubs.svg

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 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

Project details


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.2.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Kodistubs-17.6.2-py2-none-any.whl (45.5 kB view details)

Uploaded Python 2

File details

Details for the file Kodistubs-17.6.2.tar.gz.

File metadata

  • Download URL: Kodistubs-17.6.2.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Kodistubs-17.6.2.tar.gz
Algorithm Hash digest
SHA256 18a96e102362abe4eed2940dd6332c39db0f9bd0d01e1774b7ab7141aef6d48b
MD5 54fc4aeff9fef0f4ef315a63947519fa
BLAKE2b-256 72c0356b594ccbe75a3bf0d24a35e4c2c0a32e8c0d0c4cc335be1130efa0771a

See more details on using hashes here.

File details

Details for the file Kodistubs-17.6.2-py2-none-any.whl.

File metadata

File hashes

Hashes for Kodistubs-17.6.2-py2-none-any.whl
Algorithm Hash digest
SHA256 f90dc5af8edd24543e92cf61c772878724d305ddb07f98df9aee09051d77f405
MD5 b9c8c36e868fa97eef5cc7cab03d6f9c
BLAKE2b-256 225e46a9e0117107a6b8dd4f57b0dd6de9acb54507afc5c993a6024ea4558d76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page