
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
A small production ready client library that emulates redis and used gRPC for communication
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.
To install the redisgrpc Python client library, you can use pip:
pip install redisgrpc==0.4
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()
The redis-grpc-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.
Contributions to redisgrpc are welcome! Whether it's reporting bugs, suggesting new features, or contributing code, your input is valuable.
This project is licensed under the MIT License - see the LICENSE file for details.
.
FAQs
A small production ready client library that emulates redis and used gRPC for communication
We found that redisgrpc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.