Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Latest commit

 

History

History
114 lines (61 loc) · 2.24 KB

examples.rst

File metadata and controls

114 lines (61 loc) · 2.24 KB

Examples of aioredis usage

Below is a list of examples from aioredis/examples (see for more).

Every example is a correct python program that can be executed.

Python 3.5 examples

Low-level connection usage example

get source code<../examples/connection.py>

../examples/connection.py

Connections pool example

get source code<../examples/pool.py>

../examples/pool.py

Commands example

get source code<../examples/commands.py>

../examples/commands.py

Transaction example

get source code<../examples/transaction.py>

../examples/transaction.py

Pub/Sub example

get source code<../examples/pubsub.py>

../examples/pubsub.py

Scan command example

get source code<../examples/scan.py>

../examples/scan.py

Python 3.4 examples (using yield from)

Located in aioredis/examples/py34

Low-level connection usage example

get source code<../examples/py34/connection.py>

../examples/py34/connection.py

Connections pool example

get source code<../examples/py34/pool.py>

../examples/py34/pool.py

Commands example

get source code<../examples/py34/commands.py>

../examples/py34/commands.py

Transaction example

get source code<../examples/py34/transaction.py>

../examples/py34/transaction.py

Pub/Sub example

get source code<../examples/py34/pubsub.py>

../examples/py34/pubsub.py

Scan command example

get source code<../examples/py34/scan.py>

../examples/py34/scan.py