redis

class apps.redis.RedisApp(*args, **kwargs)[source]

A Redis class that defines a set of methods that’s used by both redis server and redis client class.

redis_cli(command)[source]

Run redis command :param str command: The command you want to pass to redis :return:

class apps.redis.RedisServer(*args, **kwargs)[source]

A Redis server class, this class installs and sets up a redis server on a host server.

enable_ssl(domain=None, country_iso=None, state=None, city=None, company_name=None)[source]

Enable ssl connection on redis server :param str domain: The website domain name :param str country_iso: :param str state: :param str city: :param str company_name: :return: None

reload()[source]

A method for reload the redis. :return: None

restart()[source]

A method for restarting redis. :return: None

start()[source]

A method for starting redis. :return: None

status()[source]

A method for restarting the application. :return: None

stop()[source]

A method for stopping redis. :return: None

class apps.redis.RedisSslClient(*args, **kwargs)[source]

A Redis ssl client, this class installs and sets up a redis client to talk to a remote redis server over an ssl connection.

deploy()[source]

Install and set up a redis client on a host server. :return: