Skip to main content

A Redis client

Project description

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
>>>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toyredis-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page