Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Redis utilities for TDD/BDD

Project Description

Useful when a seeded redis database is needed during test-cycles


  • helpers for seeding / clearing local redis databases during testing
  • Functions
  • dump_to_file(path, redis_conn = None, host = “localhost”, port= 6379 ) - create a pickled dump of redis
  • load_from_file(path, redis_conn = None, host = “localhost”, port= 6379 ) - load a pickled file into redis
  • clear(redis_conn = None, host = “localhost”, port= 6379 ) - clear a redis database
  • This is good for any testing environment and works well in a setup / breadkown Nose testing environment

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.9 kB) Copy SHA256 Hash SHA256
Source None Mar 12, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate