ConsentiumThingsPy


NameConsentiumThingsPy JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummarySending sensor data to IoT server
upload_time2023-10-14 04:43:53
maintainer
docs_urlNone
authorDebjyoti Chowdhury, Ph.D.
requires_python
license
keywords python internet of things
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# ConsentiumThingsPy

Developed by Debjyoti Chowdhury from ConsentiumInc

## Examples of How To Use

```python
from ConsentiumThingsPy import ConsentiumThings
import time

send_key = "YOUR_API_KEY"
board_key = "YOUR_BOARD_KEY"

try:
    consentium = ConsentiumThings(send_key, board_key)
except ValueError as e:
    print(e)
else:
    for i in range(4):
        data_buff = [1.0, 2.0, 3.0]
        info_buff = ["Sensor1", "Sensor2", "Sensor3"]

        try:
            consentium.send_rest(data_buff, info_buff)
            consentium.summary()
        except Exception as e:
            print(e)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ConsentiumThingsPy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Python,Internet of Things",
    "author": "Debjyoti Chowdhury, Ph.D.",
    "author_email": "<consentium.inc@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/6a/b2/d027788f7919cd9026e35f3ffb7f3593ec167760c3719258e46c137d2a98/ConsentiumThingsPy-0.0.2.tar.gz",
    "platform": null,
    "description": "\n# ConsentiumThingsPy\n\nDeveloped by Debjyoti Chowdhury from ConsentiumInc\n\n## Examples of How To Use\n\n```python\nfrom ConsentiumThingsPy import ConsentiumThings\nimport time\n\nsend_key = \"YOUR_API_KEY\"\nboard_key = \"YOUR_BOARD_KEY\"\n\ntry:\n    consentium = ConsentiumThings(send_key, board_key)\nexcept ValueError as e:\n    print(e)\nelse:\n    for i in range(4):\n        data_buff = [1.0, 2.0, 3.0]\n        info_buff = [\"Sensor1\", \"Sensor2\", \"Sensor3\"]\n\n        try:\n            consentium.send_rest(data_buff, info_buff)\n            consentium.summary()\n        except Exception as e:\n            print(e)\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Sending sensor data to IoT server",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [
        "python",
        "internet of things"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00cb3ad24f7d23dee67555efbd0f600d86595dee537e9a2a560db72a10d58f30",
                "md5": "f87a7870962cdcfa38d423252b43e1f5",
                "sha256": "9f88490b6d2753c86185714d455120941aaf9e2410d6d65cbe59fceacf3b36f2"
            },
            "downloads": -1,
            "filename": "ConsentiumThingsPy-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f87a7870962cdcfa38d423252b43e1f5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2617,
            "upload_time": "2023-10-14T04:43:51",
            "upload_time_iso_8601": "2023-10-14T04:43:51.457328Z",
            "url": "https://files.pythonhosted.org/packages/00/cb/3ad24f7d23dee67555efbd0f600d86595dee537e9a2a560db72a10d58f30/ConsentiumThingsPy-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ab2d027788f7919cd9026e35f3ffb7f3593ec167760c3719258e46c137d2a98",
                "md5": "020993fad90a47cd60a9254a1bdcc034",
                "sha256": "e536c525cf8277e3b095ea84e0d3d781e00ac1181f07c20d540b760ea8e5439a"
            },
            "downloads": -1,
            "filename": "ConsentiumThingsPy-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "020993fad90a47cd60a9254a1bdcc034",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2348,
            "upload_time": "2023-10-14T04:43:53",
            "upload_time_iso_8601": "2023-10-14T04:43:53.000224Z",
            "url": "https://files.pythonhosted.org/packages/6a/b2/d027788f7919cd9026e35f3ffb7f3593ec167760c3719258e46c137d2a98/ConsentiumThingsPy-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-14 04:43:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "consentiumthingspy"
}
        
Elapsed time: 9.45063s