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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tagoio_sdk-5.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2cb7e10b43119843e03245e4e00b4f5af182fcca0db8ac4dbea2d31db6e9dd47
MD5 5230b53623407f26f6699fb43b656920
BLAKE2b-256 57472789e9823be9b6d13eeef12573509f75dc760cb8d30e03b82e89f8678257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tagoio_sdk-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74ec2b6f1ca56ba9e19d4eb5a48a89e38c9e2670c677f761423aad04a0584d71
MD5 8d9119cf89f22309515418d617e54a77
BLAKE2b-256 6f5dddd80c98915b764cc1f4fcc22ed6005957325276b6c2429088d9a23d4640

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