xaal.schemas


Namexaal.schemas JSON
Version 0.1 PyPI version JSON
download
home_pageNone
Summaryxaal.schema provide some tools build from xAAL schemas
upload_time2024-07-16 00:05:01
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseGPL License
keywords xaal home-automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            xaal.schemas
============

Introduction
------------
This package contains stuffs to build some code from the schemas. Right now,
it mainly contains the "devices.py" module which is generated via the builder
script.

This module contains a function that return an instance for each dev-type.
For example, if you want to use a lamp.basic, you can simply write something
like this. 

.. code-block:: python

    from xaal.schemas import devices
    from xaal.lib import tools

    lamp = devices.lamp()
    lamp.address = tools.get_random_uuid()


WARNING
-------
This package will be updated regulary (that mainly why this files isn't in 
xaal.lib package), so don't modify the files unless you really know what 
you do. 

If your device isn't in this package, please send us a email to add a schema
or use the xaal.lib.Device API directly. (don't tweak devices.py)

TODO
----
Right now xaal.lib.Attribute doesn't support type checking (You know, it's
Python anyway..) but I think we should provide some default type checking,
in devices module.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "xaal.schemas",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "xaal, home-automation",
    "author": null,
    "author_email": "Jerome Kerdreux <Jerome.Kerdreux@imt-atlantique.fr>",
    "download_url": "https://files.pythonhosted.org/packages/4f/13/3bf694d38d08b4ad9367929077504b6d5ca42b3525e8b2053acea1f5c6dd/xaal_schemas-0.1.tar.gz",
    "platform": null,
    "description": "xaal.schemas\n============\n\nIntroduction\n------------\nThis package contains stuffs to build some code from the schemas. Right now,\nit mainly contains the \"devices.py\" module which is generated via the builder\nscript.\n\nThis module contains a function that return an instance for each dev-type.\nFor example, if you want to use a lamp.basic, you can simply write something\nlike this. \n\n.. code-block:: python\n\n    from xaal.schemas import devices\n    from xaal.lib import tools\n\n    lamp = devices.lamp()\n    lamp.address = tools.get_random_uuid()\n\n\nWARNING\n-------\nThis package will be updated regulary (that mainly why this files isn't in \nxaal.lib package), so don't modify the files unless you really know what \nyou do. \n\nIf your device isn't in this package, please send us a email to add a schema\nor use the xaal.lib.Device API directly. (don't tweak devices.py)\n\nTODO\n----\nRight now xaal.lib.Attribute doesn't support type checking (You know, it's\nPython anyway..) but I think we should provide some default type checking,\nin devices module.\n",
    "bugtrack_url": null,
    "license": "GPL License",
    "summary": "xaal.schema provide some tools build from xAAL schemas",
    "version": "0.1",
    "project_urls": null,
    "split_keywords": [
        "xaal",
        " home-automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dc0f6bb41a3a64b7a21b9030e1aacad4eeba90888d38bc94ccee566586d7323",
                "md5": "4837b18e1d053ba6d0c41300627325cd",
                "sha256": "e34d013d2d016e3d1f2b22f0a7f04bae3d2abb74c8b3578d68777786ac9ea14d"
            },
            "downloads": -1,
            "filename": "xaal.schemas-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4837b18e1d053ba6d0c41300627325cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7604,
            "upload_time": "2024-07-16T00:04:50",
            "upload_time_iso_8601": "2024-07-16T00:04:50.790313Z",
            "url": "https://files.pythonhosted.org/packages/5d/c0/f6bb41a3a64b7a21b9030e1aacad4eeba90888d38bc94ccee566586d7323/xaal.schemas-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f133bf694d38d08b4ad9367929077504b6d5ca42b3525e8b2053acea1f5c6dd",
                "md5": "3edd308405a6b917fa1b3def190f8771",
                "sha256": "b871d31f35cc2cfedb4a163691d25109007339ae481409843d0bbe7bb076497f"
            },
            "downloads": -1,
            "filename": "xaal_schemas-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3edd308405a6b917fa1b3def190f8771",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7749,
            "upload_time": "2024-07-16T00:05:01",
            "upload_time_iso_8601": "2024-07-16T00:05:01.301689Z",
            "url": "https://files.pythonhosted.org/packages/4f/13/3bf694d38d08b4ad9367929077504b6d5ca42b3525e8b2053acea1f5c6dd/xaal_schemas-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-16 00:05:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "xaal.schemas"
}
        
Elapsed time: 0.32395s