semvec/pypi-packages huggingface dataset:
toyredis 0.1.0
A Redis client
License: MIT
Keywords: Redis

==========
toyredis
==========

Toy redis client for python.

Requirement
------------

Python 3.5+ or MicroPython https://micropython.org

Install
----------

::

   $ python3 -m pip install toyredis

Example
--------------

::

   >>> import toyredis
   >>> conn = toyredis.connect('localhost')
   >>> conn.set('foo', 'bar')
   >>> conn.get('foo')
   b'bar'
   >>> conn.set('foo', 10)
   >>> conn.incr('foo')
   11
   >>>