Kodistubs


NameKodistubs JSON
Version 21.0.0 PyPI version JSON
download
home_pagehttps://github.com/romanvm/Kodistubs
SummaryStub modules that re-create Kodi Python API
upload_time2024-04-07 13:44:08
maintainerNone
docs_urlNone
authorRoman Miroshnychenko
requires_python>=3.6
licenseGPL-3.0-only
keywords kodi documentation inspection
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Kodistubs
=========
(former xbmcstubs)
------------------

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

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.6 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 using `this script`_ from 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
.. _Kodistubs documentation: https://romanvm.github.io/Kodistubs/
.. _PEP-484: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code
.. _this script: https://github.com/romanvm/kodistubs-generator



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/romanvm/Kodistubs",
    "name": "Kodistubs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "kodi documentation inspection",
    "author": "Roman Miroshnychenko",
    "author_email": "roman1972@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/24/bc/5cf6fcb211cfcfe572b48897140806c88d2c2ab7597d51dcac2313950304/Kodistubs-21.0.0.tar.gz",
    "platform": "any",
    "description": "Kodistubs\n=========\n(former xbmcstubs)\n------------------\n\n.. image:: https://badge.fury.io/py/Kodistubs.svg\n    :target: https://badge.fury.io/py/Kodistubs\n\nKodi stubs are Python files that can help you develop addons for `Kodi (XBMC)`_ Media Center.\nUse them in your favorite IDE to enable autocompletion and view docstrings\nfor Kodi Python API functions, classes and methods.\nKodistubs also include `PEP-484`_ type annotations for all functions\nand methods.\n\nYou can install Kodistubs into your working virtual environment using ``pip``::\n\n    $ pip install Kodistubs\n\nRead `Kodistubs documentation`_ for more info on how to use Kodi stubs.\n\nKodistubs major version corresponds to the version of Kodi they have been generated from.\nCurrent Kodistubs are compatible with Python 3.6 and above. Kodistubs for Kodi versions that used\nPython 2.x for addons can be found in ``python2`` branch.\n\n**Warning**: Kodistubs are literally stubs and do not include any useful code,\nso don't try to run your program outside Kodi unless you add some testing code into Kodistubs\nor use some mocking library to mock Kodi Python API.\n\nCurrent Kodistubs have been generated from scratch using `this script`_ from Doxygen XML files and\nSWIG XML Python binding definitions that, in their turn, have been generated\nfrom Kodi sources. Old Kodistubs can be found in ``legacy`` branch.\n\nI try to keep Kodi stubs in sync with Kodi Python API development, but it may happen\nthat I miss something. Don't hesitate to open issues or submit pull requests if you notice\ndiscrepancies with the actual state of Kodi Python API.\n\n\n`Discussion topic on Kodi forum`_\n\nLicense: `GPL v.3`_\n\n.. _Kodi (XBMC): http://kodi.tv\n.. _Discussion topic on Kodi forum: http://forum.kodi.tv/showthread.php?tid=173780\n.. _GPL v.3: http://www.gnu.org/licenses/gpl.html\n.. _Kodistubs documentation: https://romanvm.github.io/Kodistubs/\n.. _PEP-484: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code\n.. _this script: https://github.com/romanvm/kodistubs-generator\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Stub modules that re-create Kodi Python API",
    "version": "21.0.0",
    "project_urls": {
        "Homepage": "https://github.com/romanvm/Kodistubs"
    },
    "split_keywords": [
        "kodi",
        "documentation",
        "inspection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0687ebaa78fa4ffe81e373419de1aa0aaa5a5f92b378ec616d7696646eecc87",
                "md5": "36f563dd27c1362385afbc26c9007baf",
                "sha256": "b82cf094648ad5c75cf532bc377e1255c71730011d23d664b7df8ac96aedd3e0"
            },
            "downloads": -1,
            "filename": "Kodistubs-21.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36f563dd27c1362385afbc26c9007baf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 71378,
            "upload_time": "2024-04-07T13:44:06",
            "upload_time_iso_8601": "2024-04-07T13:44:06.109627Z",
            "url": "https://files.pythonhosted.org/packages/c0/68/7ebaa78fa4ffe81e373419de1aa0aaa5a5f92b378ec616d7696646eecc87/Kodistubs-21.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24bc5cf6fcb211cfcfe572b48897140806c88d2c2ab7597d51dcac2313950304",
                "md5": "fdd2ad7fefee3166fc90906ddad3d1cc",
                "sha256": "2c342eebf6c85c690788e6a4156a76d8eaa21b4e19e73df601ced0ca28d23576"
            },
            "downloads": -1,
            "filename": "Kodistubs-21.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fdd2ad7fefee3166fc90906ddad3d1cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 69842,
            "upload_time": "2024-04-07T13:44:08",
            "upload_time_iso_8601": "2024-04-07T13:44:08.103731Z",
            "url": "https://files.pythonhosted.org/packages/24/bc/5cf6fcb211cfcfe572b48897140806c88d2c2ab7597d51dcac2313950304/Kodistubs-21.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-07 13:44:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "romanvm",
    "github_project": "Kodistubs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "kodistubs"
}
        
Elapsed time: 0.41251s