simple-iot-device


Namesimple-iot-device JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummarySimple IOT device simulator
upload_time2022-12-27 18:45:31
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License (MIT) Copyright © 2022 alv2017 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords iot measurements simulator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Simple IOT Device

IOT device simulator.

The simulated device takes a number of measurements at some fixed point of time.

The measurements data returned as Python dictionary.

## IOT Device Measurements

- temperature, in °C;
- pressure, in kPa;
- relative humidity, in %;

## Basic Usage

```Python 3
    from simple_iot_device import SimpleIOTDevice
    
    # create Simple IOT Device
    device = SimpleIOTDevice(name="SDM-120230")
    
    # make measurement
    measurement = device.make_measurement()
    
    # print measurement result
    print(measurement)
```





            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "simple-iot-device",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "iot,measurements,simulator",
    "author": "",
    "author_email": "alv2017 <alv2017@protonmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d0/88/ea643530f0e834b22b986455df7c15010e08821ab9cae292dcc309856eb3/simple-iot-device-1.0.1.tar.gz",
    "platform": null,
    "description": "# Simple IOT Device\n\nIOT device simulator.\n\nThe simulated device takes a number of measurements at some fixed point of time.\n\nThe measurements data returned as Python dictionary.\n\n## IOT Device Measurements\n\n- temperature, in \u00b0C;\n- pressure, in kPa;\n- relative humidity, in %;\n\n## Basic Usage\n\n```Python 3\n    from simple_iot_device import SimpleIOTDevice\n    \n    # create Simple IOT Device\n    device = SimpleIOTDevice(name=\"SDM-120230\")\n    \n    # make measurement\n    measurement = device.make_measurement()\n    \n    # print measurement result\n    print(measurement)\n```\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT License (MIT)  Copyright \u00a9 2022 alv2017  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Simple IOT device simulator",
    "version": "1.0.1",
    "split_keywords": [
        "iot",
        "measurements",
        "simulator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e38b3419136f12822d04387a89806788",
                "sha256": "35a9b9929bf8e3c4122263859a2cd2a908d44dff031cace97f4eb154984c6afb"
            },
            "downloads": -1,
            "filename": "simple_iot_device-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e38b3419136f12822d04387a89806788",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5386,
            "upload_time": "2022-12-27T18:45:30",
            "upload_time_iso_8601": "2022-12-27T18:45:30.246830Z",
            "url": "https://files.pythonhosted.org/packages/bc/33/be48de3834aef6d736af7da406831148bf382480e92b0c14132cc746ba5b/simple_iot_device-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "69abdb381c00be025e087b32bc5f745b",
                "sha256": "60748ae57a8f919f7bd325432f37e59e27a0cd23ec5e36072f3871735fa0e026"
            },
            "downloads": -1,
            "filename": "simple-iot-device-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "69abdb381c00be025e087b32bc5f745b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4604,
            "upload_time": "2022-12-27T18:45:31",
            "upload_time_iso_8601": "2022-12-27T18:45:31.987149Z",
            "url": "https://files.pythonhosted.org/packages/d0/88/ea643530f0e834b22b986455df7c15010e08821ab9cae292dcc309856eb3/simple-iot-device-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-27 18:45:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "simple-iot-device"
}
        
Elapsed time: 0.29494s