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.5.tar.gz (54.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.5-py2-none-any.whl (43.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for Kodistubs-17.6.5.tar.gz
Algorithm Hash digest
SHA256 c3e1976953d1b460807e8af8cb42b3d06e8695fbd35dc24edd4fb205077e425b
MD5 4923b5c40c37a1df02a1a6ac99cf82ab
BLAKE2b-256 ba66bb9d2c80c6e063fc4561cb941a7bc8ab8c7b03825c4149207ab2a583042a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Kodistubs-17.6.5-py2-none-any.whl
Algorithm Hash digest
SHA256 cd9e16e0ef20bb6eb9e9768fd5c97d6f636fa6dd60affa1c9ed36688aa562903
MD5 138fa7a10ef20a13e488fc0f76976b54
BLAKE2b-256 f463e73009db0dacafa1ddc86cdfefb040648d0ee96b6b10097366a4b44e42ee

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