DynamoDB TimeSeries
A set of libraries that make it easier to use DynamoDB as a timeseries datastore.
Installation
You can install DynamoDB TimeSeries from PyPI:
pip install python-dynamodb-timeseries
DynamoDB TimeSeries is supported on Python 3.6 and above.
Table Resolver
Helps partition your data into tables by hour, day, month, or year.
Timeseries
Put datapoints singly or in batches, query the tags in parallel across tags and assemble the results. Uses Table Resolver to partition data.
Datapoints
Datapoints are "narrow", meaning a datapoint consists of a tag, timestamp (ms since the epoch), and value. These are stored as individual items in DynamoDB.
Examples
from dynamodb_timeseries import MONTHLY, Timeseries
table_name_prefix = 'timeseries-testing'
timeseries = Timeseries(table_name_prefix, interval=MONTHLY, regions=['us-west-2', 'us-east-2'])
tag = 'example-tag'
timestamp = 1555722540000
value = 123.45
timeseries.put(tag, timestamp, value)
timeseries.put_batch([[tag, timestamp, value]])
datapoints = timeseries.query(['example-tag'])
Environment Variables
DYNAMODB_TIMESERIES_REGIONS Regions to create tables in. You can set this rather than passing the argument to each instance of TimeSeries.
Metadata
Release files for python-dynamodb-timeseries 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-dynamodb-timeseries-0.2.2.tar.gz | 5.4 kB | Without provenance | Details for python-dynamodb-timeseries-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_dynamodb_timeseries-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for python_dynamodb_timeseries-0.2.2-py3-none-any.whl |
Total release size: 12.1 kB
Release files / python-dynamodb-timeseries-0.2.2.tar.gz
| Download URL | python-dynamodb-timeseries-0.2.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da5e417f970b198e8260813dff7a1052e872f4522ffe76347c2976642dd47933
|
|
BLAKE2b-256 checksum How to use checksums |
d38fd90b4b0a5a1f669b0a9088d189b05cc00bc4f5feb7caa59530b34c1e5e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Release files / python_dynamodb_timeseries-0.2.2-py3-none-any.whl
| Download URL | python_dynamodb_timeseries-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
225367ad7c78c3ba6c5d7d777474f3d3050a4eaa79944160ac5f6959a38728d5
|
|
BLAKE2b-256 checksum How to use checksums |
bdb3511db3674a29af5b13ddfccb607ff6c16b7676fc043f03a532c03d3faca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Security for python-dynamodb-timeseries 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.