Metadata-Version: 2.1
Name: pyrcache
Version: 1.0.12
Summary: Python API for accessing RedisCache
Home-page: https://github.com/yamaceay/pyrcache
Author: Yamac Eren Ay
Author-email: yamacerenay2001@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests (==2.28.1)

## Pyrcache
#### Setup
1. Install Docker + Docker Desktop
2. Open a terminal and enter: 
    ```
        git clone github.com/yamaceay/rediscache
        cd rediscache
        docker-compose up --build
    ```
3. Now you are ready to go!

#### Get Started

```
    import rcache
    print(rcache.keys()) # prints all keys from the database
    if len(rcache.keys()) == 0:
        exit()
    key = rcache.keys()[0]
    print(rcache.rget(key)) # print the value of key
    value = "{\"name\": \"mike\", \"surname\": \"smith\"}"
    rcache.rset(key, value) # updates the key-value pair
```

