Skip to main content

Python client for KeyDB database and key-value store

Project description

aiokeydb-py

Important

v0.0.8 Fully Migrates away from aioredis to redis-py @ v4.3.4.

This inherits all API methods from redis-py to enforce compatability since deprecation of aioredis going forward

This fork of redis-py has some modified semantics, while attempting to replicate all the API methods of redis-py to avoid compatibility issues with underlying libraries that require a pinned redis version.

Notably, all async Classes and methods are prefixed by Async to avoid name collisions with the sync version.


Usage

from aiokeydb import KeyDB, AsyncKeyDB, from_url

sync_client = KeyDB()
async_client = AsyncKeyDB()

# Alternative methods
sync_client = from_url('keydb://localhost:6379/0')
async_client = from_url('keydb://localhost:6379/0', asyncio = True)

Project details


Release history Release notifications | RSS feed

This version

0.0.8

Download files

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

Source Distribution

aiokeydb-0.0.8.tar.gz (207.7 kB view hashes)

Uploaded Source

Built Distribution

aiokeydb-0.0.8-py3-none-any.whl (228.7 kB view hashes)

Uploaded Python 3

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