This modules allows you to use redis just like a Python dictionary
Project description
Redpie
Use redis just like a Python dictionary
How to use
Installation
$ pip install redpie
Usage
from redpie import Redpie
r = Redpie(db=0, host='localhost', port=6379) # Or just r = Redpie(); 0, localhost and 6379 are defaults
from requests import Session
r.update({
'you can': 'assign basic types',
'and even more complex things': Session
})
>>> print(r['and even more complex things']())
<requests.sessions.Session object at 0x10c68d5c0>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redpie-0.0.1.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redpie-0.0.1.tar.gz.
File metadata
- Download URL: redpie-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aeb0df3c843d540e32a613bbbe1a45fbf80ef6d6df4421afc4b52dd1f7c46cd
|
|
| MD5 |
a73afa3e91dac4fc79c488c4cf9e8bf2
|
|
| BLAKE2b-256 |
cf6c7495aed7be92b5021fea646c508913d5d5d8071b12a8a2f7cbba528fe40b
|
File details
Details for the file redpie-0.0.1-py3-none-any.whl.
File metadata
- Download URL: redpie-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cac5ca68164bd3ce600495e2b5ed197e2579a4a8e96c090490a2ea83ca40c01
|
|
| MD5 |
801ef29b04f5ce67166f0de64803a5fb
|
|
| BLAKE2b-256 |
2f2da74229a69664dbd9407274ad2280e4f1c3d3aca3003e3c7cfd2f4089ecf6
|