Data common code for Redis by Equinox
Project description
datacoco-redis_tools provides basic interaction to redis database
Installation
datacoco-redis_tools requires Python 3.6+
python3 -m venv <virtual env name> source <virtual env name>/bin/activate pip install datacoco-redis_tools
Quickstart
self.rconn = RedisInteraction( host=<HOST>, port=<PORT>, db=<DB>, decode_responses=True, ) self.rconn.connect() self.rconn.set_key('key', 'key_value')
Testing
pip install -r requirements-dev.txt
To run the testing suite, simply run the command: tox or python -m unittest discover tests
Contributing
Contributions to datacoco-redis_tools are welcome!
Please reference guidelines to help with setting up your development environment here.
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
Close
Hashes for datacoco-redis_tools-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b04bde718d595a04bee640422290129f7a32ccc548fd907e81e6b4aba5b1d3 |
|
MD5 | 160a2b2f2f72a56ba1738712f6c961f2 |
|
BLAKE2b-256 | 7e2eee420a3fbcb2240c060272198682acbd72115ba6d93a8ee4be61b8f5228d |