Skip to main content

keydb-python

A python client for KeyDB derived from redis-py. You can use all classes from redis package as keydb. For example to use connection pool

from keydb import KeyDB
from keydb import ConnectionPool

pool = ConnectionPool(host='localhost', password='password')
db = KeyDB(connection_pool=pool)

Examples

import time
from keydb import KeyDB

db = KeyDB(host='localhost', password='password')

db.set("A", 10)

db.sadd("SS", 11, 12, 13, 14, 15)
db.scard("SS")

db.expiremember("SS", 12, 5)
time.sleep(6)

db.scard("SS")

Contribution

You can add new commands from KeyDB CLI in this repository. Another related to redis, please contribute to redis-py

Metadata

Release files for keydb 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keydb 0.0.1
File Size Uploaded
keydb-0.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keydb 0.0.1
File Interpreter ABI Platform
keydb-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / keydb-0.0.1.tar.gz

Download URL keydb-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
748d22225a8facaf15693842fbe5af248bb598db471804eff448e3034acafb7d
BLAKE2b-256 checksum
How to use checksums
49225ae846c805a9ef2086d488536a394d6e1005f4b2766af40f995f224b88ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / keydb-0.0.1-py3-none-any.whl

Download URL keydb-0.0.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e03832a427bf09bae02d5ebc99d516d99a5553548df443c78a4790fb36726a2d
BLAKE2b-256 checksum
How to use checksums
bd33de98cf17c7be1682e9f3e9ff290e47933ec2b51afe4023f435324c24d754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page