This repository has been archived by the owner. It is now read-only.
A Redis client based on Trio.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
trio_redis
.gitignore
LICENSE.md
README.md
requirements-dev.txt
requirements.txt
setup.cfg
setup.py

README.md

trio-redis

A Redis client based on Trio.

Example

import trio

from trio_redis import Redis


async def hello_world():
  async with Redis() as redis:
    await redis.set("some-key", "hello, world!")
    print(await redis.get("some-key"))

trio.run(hello_world)