/rdbtools3

Redis dump.rdb parser tool implemented in Python 3

Primary LanguagePythonMIT LicenseMIT

Redis dump.rdb parser tool implemented in Python 3

Build status

Inspired by redis-rdb-tools

Documentation

See http://rdbtools3.readthedocs.org/

Usage example

from rdbtools3 import parse_rdb_stream

with open('/path/to/redis/dump.rdb', 'rb') as f:
    for item in parse_rdb_stream(f):
        print(item.key, item.value)