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>
Release files for redpie 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redpie-0.0.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| redpie-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / redpie-0.0.1.tar.gz
| Download URL | redpie-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aeb0df3c843d540e32a613bbbe1a45fbf80ef6d6df4421afc4b52dd1f7c46cd
|
|
BLAKE2b-256 checksum How to use checksums |
cf6c7495aed7be92b5021fea646c508913d5d5d8071b12a8a2f7cbba528fe40b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / redpie-0.0.1-py3-none-any.whl
| Download URL | redpie-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cac5ca68164bd3ce600495e2b5ed197e2579a4a8e96c090490a2ea83ca40c01
|
|
BLAKE2b-256 checksum How to use checksums |
2f2da74229a69664dbd9407274ad2280e4f1c3d3aca3003e3c7cfd2f4089ecf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |