Skip to main content

A MongoEngine-inspired, Object-Type mapper for working with Redis

Project description

Info:

RedisEngine is a MongoEngine-inspired lib for ORM-like manipulation of Redis-powered cache in Python.

Repository:

https://github.com/RedisEngine/redisengine

Author:

Kris Kavalieri (https://github.com/kriskavalieri)

About

RedisEngine is intended to be an ORM-like Object-To-Redis-Type-Mapper written in Python. This is a work in progress, as several things are pending completion, like: exhaustive tests, CI, documentation and API reference.

Given the above, any usage other than experimental is strongly discouraged for the time being.

Future releases will include integration with Django’s and MongoEngine’s signal framework/module so that cache management can be automated in a customizable fashion.

Motivation

I found myself in an occasional need of cache validation which usually resulted in a more entropic (and WET) code to cope with. It naturally occurred this would be the best course of action.

Installation

pip install -U redisengine.

Alternatively, download the source and run python setup.py install.

Dependencies

  • redis>=2.10.5

Tests

To run the test suite, ensure you are running a local instance of Redis on the standard port, and run: python setup.py nosetests.

Run selected tests with:

$ python setup.py nosetests --tests tests/fields/test_fields.py:FieldTest.test_default_values_nothing_set -s

Community

Yet to come

Contributing

Yet to come

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

redisengine-0.1.1.tar.gz (73.2 kB view details)

Uploaded Source

File details

Details for the file redisengine-0.1.1.tar.gz.

File metadata

  • Download URL: redisengine-0.1.1.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for redisengine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d307b27b8ca7235d6dafb67c690e178cd03436f32c991e9cf2d5fc5f7cd8777a
MD5 187acd55a60fc1ee0187fd5bb9dc4400
BLAKE2b-256 a5ec676fcb4b26d9ac18464690fc410cbfb3d07a289b7817893ec770af286e95

See more details on using hashes here.

Supported by

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