Coder Social home page Coder Social logo

sooids / aioredis-py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aio-libs-abandoned/aioredis-py

0.0 0.0 0.0 4.34 MB

asyncio (PEP 3156) Redis support

Home Page: https://aioredis.readthedocs.io/

License: MIT License

Python 99.57% Makefile 0.23% Gherkin 0.08% Jinja 0.13%

aioredis-py's Introduction

aioredis


๐Ÿ“ข๐Ÿšจ Aioredis is now in redis-py 4.2.0rc1+ ๐Ÿšจ๐Ÿšจ

Aioredis is now in redis-py 4.2.0rc1+

To install, just do pip install redis>=4.2.0rc1. The code is almost the exact same. You will just need to import like so:

from redis import asyncio as aioredis

This way you don't have to change all your code, just the imports.

https://github.com/redis/redis-py/releases/tag/v4.2.0rc1

Now that aioredis is under Redis officially, I hope there will never be an unmaintained, asyncio Redis lib in the Python ecosystem again. I will be helping out maintenance at Redis-py for the foreseeable future just to get some of the asyncio stuff out of the way. There are also some bugs that didn't make it into the PR that I'll be slowly migrating over throughout the next few weeks -- so long as my exams don't kill me beforehand :)

Thank you all so much for your commitment to this repository! Thank you so much to @abrookins @seandstewart @bmerry for all the commits and maintenance. And thank you to everyone here who has been adopting the new code base and squashing bugs. It's been an honor!

Cheers, Andrew


asyncio (3156) Redis client library.

The library is intended to provide simple and clear interface to Redis based on asyncio.

Features

Feature Supported
hiredis parser โœ…
Pure-python parser โœ…
Low-level & High-level APIs โœ…
Pipelining support โœ…
Multi/Exec support โœ…
Connections Pool โœ…
Pub/Sub support โœ…
Sentinel support โœ…
ACL support โœ…
Streams support โœ…
Redis Cluster support ๐Ÿšซ
Tested Python versions 3.6, 3.7, 3.8, 3.9, 3.10
Tested for Redis servers 5.0, 6.0
Support for dev Redis server through low-level API

Installation

The easiest way to install aioredis is by using the package on PyPi:

pip install aioredis

Recommended with hiredis for performance and stability reasons:

pip install hiredis

Requirements

  • Python 3.6+
  • hiredis (Optional but recommended)
  • async-timeout
  • typing-extensions

Benchmarks

Benchmarks can be found here: https://github.com/popravich/python-redis-benchmark

Contribute

Feel free to file an issue or make pull request if you find any bugs or have some suggestions for library improvement.

License

The aioredis is offered under a MIT License.

aioredis-py's People

Contributors

abrookins avatar achimnol avatar adamcharnock avatar andrew-chen-wang avatar asvetlov avatar bdrosen96 avatar bmerry avatar chalk13 avatar cynecx avatar dependabot[bot] avatar fleischgewehr avatar github-actions[bot] avatar gyermolenko avatar hugovk avatar jeffguorg avatar jettify avatar kernel0 avatar kxepal avatar n0execution avatar olegt0rr avatar otykhonruk avatar pfreixes avatar popravich avatar pre-commit-ci[bot] avatar pyup-bot avatar seandstewart avatar stanislau-arkhipenka avatar tailhook avatar webknjaz avatar youngminz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.