Skip to main content

Python SDK for use with Clarity.io sensors

Project description

last_commit test suite

Clarity.io Python SDK

SDK to access Clarity.io API resources

Installation

The package is available on PyPi so simple install with pip:

pip install claripy-sdk

Usage

Please see the Snippets directory to see sample use cases. Below is the general use case:

import os
from claripy.clarity import Clarity

connection = Clarity(os.getenv("API_KEY"))

latest_data_by_min = connection.__measurements__.get()
devices = connection.__devices__.get()
sources = connection.__datasources__.get()

To create a Clarity object, simply pass the API key as a parameter. You then have access to data from the three Clarity endpoints: measurements, devices, and datasources.

Resources

License

This repository is licensed under the Apache License

Contributing

contributing

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

claripy-sdk-1.0.10.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file claripy-sdk-1.0.10.tar.gz.

File metadata

  • Download URL: claripy-sdk-1.0.10.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for claripy-sdk-1.0.10.tar.gz
Algorithm Hash digest
SHA256 8a06cdd27e54989134f03a72d2a8ba431506c95994d4c6af9fc6892cac239592
MD5 d16df9a57a82b3bed1324e48ee9ea3b8
BLAKE2b-256 c18143cfbc071e767c89957c22d6ce86e34ec454a1649b9fe77b90a31983ea8d

See more details on using hashes here.

Supported by

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