Skip to main content

Data common code for Redis by Equinox

Project description

Pypi Version Documentation Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for datacoco-redis-tools, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size datacoco-redis_tools-0.1.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page