Skip to main content

Official Python SDK for TagoIO

Project description


TagoIO

TagoIO - Python SDK

Official Python SDK for TagoIO

Installation

pip install tagoio-sdk

Quick Example

If you have any questions, feel free to check our Help Center

Insert Device Data

from tagoio_sdk import Resources

resources = Resources()
resource.devices.sendDeviceData("myDeviceID", {
    "variable": "temperature",
    "unit": "F",
    "value": 55,
    "time": "2015-11-03 13:44:33",
    "location": {"lat": 42.2974279, "lng": -85.628292},
})

Edit Device Data

from tagoio_sdk import Resources

resources = Resource()
resource.devices.editDeviceData("myDeviceID", {
    "id": "idOfTheRecord",
    "value": "new value",
    "unit": "new unit"
})

Development Commands

uv sync --dev
uv run pytest tests/
uv run ruff check src
uv run ruff format src

License

TagoIO SDK for Python is released under the Apache-2.0 License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tagoio_sdk-5.0.0.tar.gz (110.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tagoio_sdk-5.0.0-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

Details for the file tagoio_sdk-5.0.0.tar.gz.

File metadata

  • Download URL: tagoio_sdk-5.0.0.tar.gz
  • Upload date:
  • Size: 110.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for tagoio_sdk-5.0.0.tar.gz
Algorithm Hash digest
SHA256 4dbd60a31d4959a29d4a44d39365c555c98aaa89d7b00289d950a38a10d264a5
MD5 4d82e3489013ef8cdb16aef6b520d791
BLAKE2b-256 af137e4a38ef6624c7f197bcc5e2527d52dcbfa216c607135e80a373ae8eda87

See more details on using hashes here.

File details

Details for the file tagoio_sdk-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tagoio_sdk-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71bc7ad7730b24259ff5aacb69837bbcf3f800144602a3c761d1c23964a647e0
MD5 ca54d2638ed30153641d84fea7ba202d
BLAKE2b-256 67db56f861ead9f3ccd5f19d374a5ab62f5832d27aab49d8e09b7370168733bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page