Skip to main content

Data common code for Redis by Equinox

Project description

PyPI Version Documentation Status Code Quality Grade Coverage Code of Conduct

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')

Development

Getting Started

It is recommended to use the steps below to set up a virtual environment for development:

python3 -m venv <virtual env name>
source <virtual env name>/bin/activate
pip install -r requirements.txt

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.

Source Distribution

datacoco-redis_tools-0.1.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file datacoco-redis_tools-0.1.2.tar.gz.

File metadata

  • Download URL: datacoco-redis_tools-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4

File hashes

Hashes for datacoco-redis_tools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 39365831f2ae8fff3432bc591e8a9ed14f7b04fb0f1dba6c24bac622d68875e0
MD5 82ff2ad4d24764a3101e2fe3b39b36be
BLAKE2b-256 3fbf81d0b5663d8255984081e3556e9c9f59570e0413c923e1cde506a31df79b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page