{"id":22878185,"url":"https://github.com/allthingstalk/python-sdk","last_synced_at":"2025-05-06T23:29:22.430Z","repository":{"id":57409864,"uuid":"70792055","full_name":"allthingstalk/python-sdk","owner":"allthingstalk","description":"Python SDK for AllThingsTalk IoT platform","archived":false,"fork":false,"pushed_at":"2023-05-22T20:49:53.000Z","size":244,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-31T04:03:34.229Z","etag":null,"topics":["allthingstalk","iot","python","sdk"],"latest_commit_sha":null,"homepage":"https://allthingstalk.github.io/python-sdk/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allthingstalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-13T09:42:51.000Z","updated_at":"2019-12-29T17:16:13.000Z","dependencies_parsed_at":"2024-12-13T16:19:38.399Z","dependency_job_id":"63c190e4-c17b-4ba2-999a-904033f29aa8","html_url":"https://github.com/allthingstalk/python-sdk","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":"0.17142857142857137","last_synced_commit":"418daba80bd4d6c7b053e8b3afb70e27f0e01c20"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fpython-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fpython-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fpython-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fpython-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allthingstalk","download_url":"https://codeload.github.com/allthingstalk/python-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252786444,"owners_count":21804072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allthingstalk","iot","python","sdk"],"created_at":"2024-12-13T16:18:50.613Z","updated_at":"2025-05-06T23:29:22.384Z","avatar_url":"https://github.com/allthingstalk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-sdk\n\n[![PyPI](https://img.shields.io/pypi/v/allthingstalk.svg)](https://pypi.python.org/pypi/allthingstalk)\n\nAllThingsTalk Python SDK provides Python APIs to manage and implement AllThingsTalk devices.\n\n## System Requirements\n\nAllThingsTalk Python SDK is a Python 3 library, so make sure you have Python 3 installed. Python 2 won’t work.\n\n## Installation\n\n### Using pip\n\nThe SDK is available on [PyPI](https://pypi.python.org/pypi), and can be installed using `pip3`. If you don't have `pip3` or `python3` installed, please follow the [Python Installation Tutorial](http://docs.python-guide.org/en/latest/starting/installation/).\n\n```\npip3 install allthingstalk\n```\n\nWe recommend that you install the SDK inside a [Python Virtual Enviroment](https://realpython.com/blog/python/python-virtual-environments-a-primer/). In case you wish to install the package globally, you will probably need to prefix the command with `sudo`.\n\n### From source code\n\nIt's also possible to install AllThingsTalk Python SDK from source code.\n\nYou can either clone the public repository:\n\n```\ngit clone git://github.com/allthingstalk/python-sdk.git\n```\n\nOr, download the [tarball](https://github.com/allthingstalk/requests/tarball/master):\n\n```\ncurl -OL https://github.com/allthingstalk/requests/tarball/master\n```\n\nTo install the package, use:\n\n```\ncd python-sdk\npip3 install .\n```\n\n### On a Raspberry PI\n\nOne of primary use cases for the AllThingsTalk Python SDK is embedded development on Linux devices, and Raspberry PI is among the most popular embedded Linux platforms.\n\nTo install the SDK, you can use any of the methods above. Whichever method you choose, we recommend executing it globally as a super user - `sudo pip3 install allthingstalk`.\n\nTo see how to integrate the SDK with Grove PI sensors, please take a look at [Using AllThingsTalk SDK with GrovePi](examples/grovepi/README.md).\n\n## Examples\n\nTo obtain examples you can either clone the repository as described above, or copy the examples directly from GitHub.\n\n[Counter](examples/counter.py) is one of the most basic examples. Copy it to your hard drive, and replace `DEVICE_TOKEN` and `DEVICE_ID` with those obtained from [Maker](https://maker.allthingstalk.com). If you have installed the SDK correctly, you should be able to run the example with `python3 counter.py`. The example will create one asset and increment it from `0` to `9` with second long delays. You can use Maker to monitor the progress.\n\n## Documentation\n\nhttps://allthingstalk.github.io/python-sdk/\n\n# License\n\nApache 2.0\n\n# Contributions\n\nPull requests and new issues are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthingstalk%2Fpython-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallthingstalk%2Fpython-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthingstalk%2Fpython-sdk/lists"}