Skip to main content

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

firedis-0.1.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

firedis-0.1.3-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file firedis-0.1.3.tar.gz.

File metadata

  • Download URL: firedis-0.1.3.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for firedis-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fad4458dd532a6bc869648c8628b10574e6796b6e0e01b7e0968ec6ce32822fb
MD5 e0a209ca840e9387096e733fb8f847af
BLAKE2b-256 90152e82f2bf14c46b8de56ee9e20f34d9ab6732e148b4f983ebbb565014ea18

See more details on using hashes here.

File details

Details for the file firedis-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: firedis-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for firedis-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ae4742573f664eb26604140d76a8e0e317c503c344e2618093a15b50c606fb2
MD5 4ab7b4a5e3a151400bdd1977a373ff96
BLAKE2b-256 c972c3f2cc8b972bc2495f076f7a9530c9dff65a620d91fa1fba207f87d75dcb

See more details on using hashes here.

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