This looks pretty clear :
redis-py exposes two client classes that implement these commands The StrictRedis class attempts to adhere to the official command syntax.
and
In addition to the changes above, the Redis class, a subclass of StrictRedis, overrides several other commands to provide backwards compatibility with older versions of redis-py
Do you need backward compatibility? Use Redis . Does not care? Use StrictRedis .
2017-03-31
Here are the backward compatibility specifics from the github.com link:
In addition to the changes above, the Redis class, a subclass of StrictRedis, overrides several other commands to provide backward compatibility with older versions of redis-py:
LREM: the order of the arguments 'num' and 'value' is changed so that 'num' can provide a default value of 0.
ZADD: Redis specifies the argument "score" before "value". They were accidentally replaced when they were implemented and were not discovered until people already used it. The Redis class expects * args in the form: name1, score1, name2, score2, ...
SETEX: the arguments "time" and "value" are canceled.
hughdbrown Sep 26 '13 at 9:14 2013-09-26 09:14
source share