A small utility class to query timestream to object array quickly
Project description
Timestream Query
This repository contains a Timestream Utility class to query data from Timestream to Object array easily.
Example Usage
region = "us-west-2"
session = boto3.Session()
database = "YOUR_DATABASE"
table = "YOUR_TABLE"
query_client = session.client("timestream-query", config=Config(region_name=region))
query_util = QueryUtil(query_client, database, table)
query_string = f"SELECT Id FROM {database}.{table} WHERE time >= ago(24h)"
# Run Query
id_list = query_util.run_query(query_string, True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timestream-query-1.0.1.tar.gz.
File metadata
- Download URL: timestream-query-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52810a928c0e517ddd8ba618b294373870d66934472aaec463dfc454148ac16b
|
|
| MD5 |
25457fe9d84539fd0e1c4c3a4157af4c
|
|
| BLAKE2b-256 |
810d122a2f4918eacbe5116bb567d952b87e8fb9bfc844697001184af30eab62
|
File details
Details for the file timestream_query-1.0.1-py3-none-any.whl.
File metadata
- Download URL: timestream_query-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754264fbb13a28ee5ed71140879ede8b5ace1b9babca98fd62b6f017f60106cc
|
|
| MD5 |
a0f351980d1b595e44527bdc67694b76
|
|
| BLAKE2b-256 |
dd8946cde54516f537429fa0ce70ce7af13c48cb9ed86ac7350bd8ecbd1bbc5c
|