Skip to content

calvdee/redis-timeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A Redis-backed generic timeline implementation.

Installation

git clone https://github.com/calvdee/redis_timeline.git
pip install redis
pip install hiredis

Getting Started

>>> from redis_timeline import RedisTimeline
>>> t = RedisTimeline(name="test-timeline", max_length=1000)
>>> t.push('one')
'one'
>>> t.push('two')
'two'
>>> t.push('three')
'three'
>>> r.range(3)
['three', 'two', 'one']

About

A generic timeline, Redis backend timeline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages