Skip to content

Latest commit

 

History

History
97 lines (64 loc) · 2.96 KB

README.md

File metadata and controls

97 lines (64 loc) · 2.96 KB

Python Redis: A reimplementation of redis in pure python

Python version License MIT

demo

FeaturesHow to UseContributingLicenseContact

Python-Redis

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.

Features

  • 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.

Run Locally

To start using Python-Redis, follow these simple steps:

  1. Clone the repository:

    git clone https://github.com/lekhana3003/python-redis.git
    
  2. Navigate to the project directory:

    cd python-redis
    
  3. Run the Python-Redis server:

    ./spawn-redis-server.sh --port <port>
    
  4. 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

Deployment

build the image

  docker build -t redis-server .

start the container

 docker run -d --name redis redis-server

Contributing

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.

License

Python-Redis is licensed under the MIT License. See the LICENSE file for details.

Contact

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.