Features • How to Use • Contributing • License • Contact
Python-Redis is a Python reimplementation of Redis, a popular in-memory data structure store used as a database, cache. Python-Redis aims to provide similar functionality to Redis while being written entirely in Python, making it easier to understand, modify, and extend.
-
Commands: Python-Redis supports currently support all basic commands, allowing users to store and retrieve data efficiently.
-
Redis Client Compatibility: Python-Redis can be connected to using any Redis client that supports the Redis protocol. This ensures compatibility with existing Redis clients and libraries.
To start using Python-Redis, follow these simple steps:
-
Clone the repository:
git clone https://github.com/lekhana3003/python-redis.git
-
Navigate to the project directory:
cd python-redis
-
Run the Python-Redis server:
./spawn-redis-server.sh --port <port>
-
Connect to Python-Redis using a Redis client of your choice, specifying the host and port where Python-Redis is running.
Note: Used iredis for demo
build the image
docker build -t redis-server .
start the container
docker run -d --name redis redis-server
Contributions are welcome! If you'd like to contribute to Python-Redis, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Write tests for your changes.
- Ensure all tests pass.
- Submit a pull request.
Python-Redis is licensed under the MIT License. See the LICENSE file for details.
If you have any questions, suggestions, or issues, please feel free to contact me at lekhanag.3003@gmail.com.
Python-Redis is a project by Lekhana Ganji.