Skip to main content

Redis gRPC ⚡️

by Gautam Sharma https://gsharma.dev

Redis gRPC ⚡️ is a client library that emulates Redis-like features by leveraging gRPC communication. It provides a lightweight and efficient way to interact with a Redis-like server implemented using gRPC, offering developers a fast and seamless experience.

Features

  • Emulates Redis-like functionality
  • Utilizes gRPC for communication
  • Written in Python for ease of use and integration
  • Lightweight and efficient

Installation

To install the redisgrpc Python client library, you can use pip:

pip install  redisgrpc==0.1

Usage

Here's an example demonstrating how to use the redisgrpc client library:

from __future__ import print_function
import logging
from  redisgrpc import redisgrpc as rg


def run():
    # Initialize the Client with the server port
    c = rg.Client(50051)
    # Initialize the connection
    c.init_connection()
    
    # Perform some Redis-like operations
    for idx in range(1, 10):
        k = input("Set Key: ")
        v = input("Set Value: ")
        c.set(k, v)
        # Get the cached value back
        cached_val = c.get(k)
        print("Cached value of key {} is {}".format(k, cached_val))

if __name__ == "__main__":
    # Configure logging
    logging.basicConfig()
    # Run the example
    run()

About

The redisgrpc-server is a library written purely in C++, utilizing gRPC as its communication layer. Despite its small size, this library is powerful and suitable for use in production environments. The aim is to provide developers with the best possible experience while maintaining extreme speed and efficiency.

Contributing

Contributions to redisgrpc are welcome! Whether it's reporting bugs, suggesting new features, or contributing code, your input is valuable.

License

This project is licensed under the MIT License - see the LICENSE file for details.


.

Metadata

Release files for redisgrpc 0.2

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

Source distribution (sdist)

Source distribution for redisgrpc 0.2
File Size Uploaded Provenance Actions
redisgrpc-0.2.tar.gz 7.5 kB Without provenance Details for redisgrpc-0.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / redisgrpc-0.2.tar.gz

Download URL redisgrpc-0.2.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2fdd43fb74e20e914466fc42800c5c44a686c00b3ac083641fc8fdc4d963eb04
BLAKE2b-256 checksum
How to use checksums
7c13468dfe1f4daa5f516618ce26e05d9067027688cfc7976c0067accff782f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / redisgrpc-0.2-py3-none-any.whl

Download URL redisgrpc-0.2-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c231584dff246bc0f11e2c0eeb4add492a52a5c678fee32be7baeb7dc786bdba
BLAKE2b-256 checksum
How to use checksums
445232cb5e850e8a5c51f8f9d2512b2d8f0abda115abfe3586d01fe6a7bf2f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Security for redisgrpc 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

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