Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Requirement

Python version Python or greater

Setup

Go to directory => cd red_implementation/Redis/

execute command => python redis.py

Commands Implemented

  • Append (append key data)
  • Del (del key)
  • Exists (exists key)
  • Exit (exit)
  • Expire (expire key timeInSeconds)
  • Get (get key)
  • Getrange (get key rangeStart rangeEnd) user for strings
  • Set (set key data)
  • Zadd (set key dataInPairs)
  • Zrange and Zrange withscores (zrange key startRange endRange) or (zrange key startRange endRange withscores)
  • Zrank (zrank key pairData)
  • ttl (ttl key)
  • lpush (lpush key listDataInSpaces)
  • rpush (rpush key listDataInSpaces)
  • lindex (lindex key data)
  • linsert (linsert key valueOfWhichDataIsToBeInsertedBeforeOf value)
  • rinsert (linsert key valueOfWhichDataIsToBeInsertedAfterOf value)
  • llen (llen key)
  • rpop (rpop key)
  • lpop (lpop key)
  • lrange (lrange key startRange endRange)

Demo

demo

About

The project focuses on implementation of Redis kind structure using python Report link https://docs.google.com/document/d/1elozY9I13iF31C5pHWN0GX16acSuzT_JvxGYcwb6hjY/edit

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages