Greendeck Redis Package
Project description
greendeck-redis
For internal Greendeck
use only.
Install from pip
https://pypi.org/project/greendeck-redis/
pip install greendeck-redis
How to use ?
import the library
import greendeck_redis
import redis
class
from greendeck_redis import RedisQueue
from greendeck_redis import RedisSet
initialize redis
client connection
# declare variables
REDIS_HOST = <YOUR_REDIS_HOST>
REDIS_PORT = <YOUR_REDIS_PORT>
# Here default values are REDIS_PORT='', REDIS_HOST=''
redis_queue = RedisQueue(REDIS_HOST, REDIS_PORT, queue_name)
# OR/AND
redis_set = RedisSet(REDIS_HOST, REDIS_PORT, set_name)
How to build your pip package
- open an account here https://pypi.org/
In the parent directory
python setup.py sdist bdist_wheel
twine upload dist/*
references
Thank You
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
greendeck-redis-0.0.3.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for greendeck_redis-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec4ce1871f8dfeda3c8578ed2d7f5c29e68684a9142bb7f94099add2ba18034e |
|
MD5 | 8986720af387c62bfdb6c8359c6796e8 |
|
BLAKE2b-256 | 74cb82963c5a3d9ff12baeb669dc2e85d22ceeee9914f2cd5a2f14d56a4f5a13 |