Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Kodistubs

(former xbmcstubs)

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 Kodistubs documentation for more info on how to use Kodi stubs.

Kodistubs major version corresponds to the version of Kodi they have been generated from. Current Kodistubs are compatible with Python 3.10 and above. Kodistubs for Kodi versions that used Python 2.x for addons can be found in python2 branch.

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 Python API.

Current Kodistubs have been generated from scratch with the help of Claude Code AI from Doxygen XML files and SWIG XML parse trees of Kodi Python bindings 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.

.claude directory contains prompts and skills for Claude Code AI that have been used to create the current version of Kodistubs. They can be adapted for other AI agents/assistants, if necessary.

Discussion topic on Kodi forum

License: GPL v.3

Metadata

Release files for Kodistubs 22.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Kodistubs 22.0.0rc1
File Size Uploaded Provenance Actions
kodistubs-22.0.0rc1.tar.gz 71.2 kB Without provenance Details for kodistubs-22.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Kodistubs 22.0.0rc1
File Interpreter ABI Platform Actions
kodistubs-22.0.0rc1-py3-none-any.whl Python 3 none any Details for kodistubs-22.0.0rc1-py3-none-any.whl

Total release size: 145.3 kB

Release files / kodistubs-22.0.0rc1.tar.gz

Download URL kodistubs-22.0.0rc1.tar.gz
Size 71.2 kB
Tags Source
SHA-256 checksum
How to use checksums
df9254160bbab859b937cbb617687310d98cf4acb2073ec9032fe8d89c4b0600
BLAKE2b-256 checksum
How to use checksums
1f7afc790f3001c5e8b8371ebd79e0d92e5be88751f310eb6b16c702fa576b04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / kodistubs-22.0.0rc1-py3-none-any.whl

Download URL kodistubs-22.0.0rc1-py3-none-any.whl
Size 74.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c49bcea97e0b6695e8dbb06a1fd06705d1eb39456be8902f7f8c860d40ab15bf
BLAKE2b-256 checksum
How to use checksums
fa76772dcf860254a5ba5c5c21a69c73f1fb130820ec74ba17452037cdce2313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for Kodistubs 22.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page