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.1.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.1-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tagoio_sdk-5.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 45d5d0a2fea9e00cf1def95276f3a08f420ce36a18094a39a953d897658ed1aa
MD5 a3dd23cca7fe2baac0e0e96fa95e2cc8
BLAKE2b-256 69b10a17d01136bcbd09a063682206cc4da23148950d1407ad9e69cc2e19762e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tagoio_sdk-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14f8be0bee99db99a25d985a9bc85b46aea2b2f5722109d0a0adde728e76659c
MD5 58978eb7a88bfdd2b96493b9894a9a61
BLAKE2b-256 b0dbb0710a420f571dd3715dcd43093610095dcd0717fbf58f4acbef492bbbb6

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