Skip to content

cachier-cache/cachier-python-client

Repository files navigation

Cachier Python Client

Downloads Test

A template of README best practices to make your README simple to understand and easy to use.

Table of Contents

Installation

Install the package using pip:

pip install cachier_client

Usage

from cachier_client import CachierClient

client = CachierClient("localhost", 8080).connect()

print("should be None:", client.get("greetings"))
client.set("greetings", "Hello, World!", 10)
print("should be something:", client.get("greetings"))
import time
time.sleep(11)
print("should be None:", client.get("greetings"))

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.