smobot-api


Namesmobot-api JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/adam-mckee/smobot_api
SummaryPull data for your Smobot Controller
upload_time2023-04-12 23:11:52
maintainer
docs_urlNone
authoradam-mckee
requires_python
licenseGPLv3
keywords smobot_api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # smobot_api
Python package to interface with the Smobot device.
You will need to have previously registered and set up your smobot on the smobot website.

# Installation
`pip install smobot_api`

Description
===========

```
import asyncio
from smobot_api import smobot_api

async def main():
    smobot = smobot_api('<username>', '<password>')
    print(await smobot.login())
    for serial in await smobot.serials:
    print(serial)
    print(await smobot.status(serial))
    print(await smobot.setpoint(serial, 276))
    await smobot.close()

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/adam-mckee/smobot_api",
    "name": "smobot-api",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "smobot_api",
    "author": "adam-mckee",
    "author_email": "invalid@example.org",
    "download_url": "https://files.pythonhosted.org/packages/09/a1/ae4c0837d400e201e2bd8fdf7d074a5666aa04a48bfd17d6bd42ac8d044a/smobot_api-0.0.4.tar.gz",
    "platform": null,
    "description": "# smobot_api\nPython package to interface with the Smobot device.\nYou will need to have previously registered and set up your smobot on the smobot website.\n\n# Installation\n`pip install smobot_api`\n\nDescription\n===========\n\n```\nimport asyncio\nfrom smobot_api import smobot_api\n\nasync def main():\n    smobot = smobot_api('<username>', '<password>')\n    print(await smobot.login())\n    for serial in await smobot.serials:\n    print(serial)\n    print(await smobot.status(serial))\n    print(await smobot.setpoint(serial, 276))\n    await smobot.close()\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n```\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Pull data for your Smobot Controller",
    "version": "0.0.4",
    "split_keywords": [
        "smobot_api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e763dd213a8ab382819bcd85ccd48432673877ccc11d3f3dbd733c889f89f261",
                "md5": "313738b22c623e8c22fa3bc5ca5a5d00",
                "sha256": "6ef4b8f0e2310dbb2fb060cf616b15044013621c0a51379b2184ca60b9247112"
            },
            "downloads": -1,
            "filename": "smobot_api-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "313738b22c623e8c22fa3bc5ca5a5d00",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3962,
            "upload_time": "2023-04-12T23:11:49",
            "upload_time_iso_8601": "2023-04-12T23:11:49.615512Z",
            "url": "https://files.pythonhosted.org/packages/e7/63/dd213a8ab382819bcd85ccd48432673877ccc11d3f3dbd733c889f89f261/smobot_api-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09a1ae4c0837d400e201e2bd8fdf7d074a5666aa04a48bfd17d6bd42ac8d044a",
                "md5": "0c5edfafce17c4085ff47917d3f2f7e1",
                "sha256": "e4638779eb1cc43d26fc11c5616b4be6da2a9c48dc3fa4cfd923a8ee58a669ac"
            },
            "downloads": -1,
            "filename": "smobot_api-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "0c5edfafce17c4085ff47917d3f2f7e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3365,
            "upload_time": "2023-04-12T23:11:52",
            "upload_time_iso_8601": "2023-04-12T23:11:52.166388Z",
            "url": "https://files.pythonhosted.org/packages/09/a1/ae4c0837d400e201e2bd8fdf7d074a5666aa04a48bfd17d6bd42ac8d044a/smobot_api-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-12 23:11:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "adam-mckee",
    "github_project": "smobot_api",
    "lcname": "smobot-api"
}
        
Elapsed time: 0.30113s