Skip to main content

RedisTimeSeries Python Client

Project description

license PyPI version CircleCI GitHub issues Codecov Language grade: Python


Forum Gitter

redistimeseries-py is a package that gives developers easy access to RedisTimeSeries module. The package extends redis-py's interface with RedisTimeSeries's API.


$ pip install redistimeseries


The complete documentation of RedisTimeSeries's commands can be found at RedisTimeSeries's website.

Usage example

# Simple example
from redistimeseries.client import Client
rts = Client()
rts.create('test', labels={'Time':'Series'})
rts.add('test', 1, 1.12)
rts.add('test', 2, 1.12)
rts.range('test', 0, -1)
rts.range('test', 0, -1, aggregation_type='avg', bucket_size_msec=10)
rts.range('test', 0, -1, aggregation_type='sum', bucket_size_msec=10)'test').__dict__

# Example with rules
rts.create('source', retention_msecs=40)
rts.createrule('source', 'sumRule', 'sum', 20)
rts.createrule('source', 'avgRule', 'avg', 15)
rts.add('source', '*', 1)
rts.add('source', '*', 2)
rts.add('source', '*', 3)


BSD 3-Clause

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for redistimeseries, version 1.4.3
Filename, size File type Python version Upload date Hashes
Filename, size redistimeseries-1.4.3-py2-none-any.whl (7.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size redistimeseries-1.4.3.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page