Pyrcache
Setup
- Install Docker + Docker Desktop
- Open a terminal and enter:
git clone github.com/yamaceay/rediscache cd rediscache docker-compose up --build - 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
Release files for pyrcache 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrcache-1.1.2.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrcache-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / pyrcache-1.1.2.tar.gz
| Download URL | pyrcache-1.1.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eab3f0cc7c696fc4dabd8a31ded9da365b755591a5ae53206ad90d4e669bd1f3
|
|
BLAKE2b-256 checksum How to use checksums |
35be89db3fbacd49bafb47bb408a0204e3c2ea78bb3e0d2b76ba41f6d4668e94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / pyrcache-1.1.2-py3-none-any.whl
| Download URL | pyrcache-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
703f0052e2d0d1a4608141e76f16e446aa785c2f5b9e48be0c18e7a41c5c7ae0
|
|
BLAKE2b-256 checksum How to use checksums |
f681ef98891ae3b5d18a1a6607cd19d2e7158aaed4ccfb2c4f0f2d4510a10493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|