Fast, type-safe, custom Namespaces for local Redis
Project description
Firedis
pip install firedis
A faster, type-safe Python client for your local Redis server. Optimized for ultra high frequency, synchronous transactions over a Unix socket, or localhost
130,000+ synchronous transactions per second while serializing/deserializing any Python object in/out of Redis.
import datetime as dt
from firedis import Firedis, Namespace
class MyRedis(Firedis):
login_times: Namespace[dt.datetime]
numbers: Namespace[int | float]
documents: Namespace[dict[str, str]]
r = MyRedis() # Takes same arguments as `redis.Redis()`
r.login_times.set("Peter", dt.datetime.now())
r.numbers.set('foo', 1)
r.documents.set('bar', {'a': 'A', 'b': 'B'})
Static Type Safety, and direct storage of Python objects
- ...
Performance
- ...
Mirrors redis.Redis() API
- ...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file firedis-0.1.4.tar.gz.
File metadata
- Download URL: firedis-0.1.4.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2e01f9561b9291bb65219d4a01ef6ada3080066d3c2096c734df0d67981b583
|
|
| MD5 |
2acbb26a1fbf5eac2800337cac29e52b
|
|
| BLAKE2b-256 |
68f3e5386712eb91582e3d8f37880b1a45a863a20cf5969f7dfff273aa0b0a91
|
File details
Details for the file firedis-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: firedis-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10304066cb99c74ad0b84802bcfd1fa4127b83680a96574aa4bbdc1695878f63
|
|
| MD5 |
dbe1e136a11e1995f12b0662a9a8ebaa
|
|
| BLAKE2b-256 |
85589a6ddd4614001adc31e0d82057ea1a84696d99a387f6dd7cf3b3361af2d6
|