-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
## Walrus | ||
|
||
Lightweight Python utilities for working with Redis. | ||
![](http://media.charlesleifer.com/blog/photos/p1420698394.77.jpg) | ||
|
||
### Containers | ||
Lightweight Python utilities for working with [Redis](http://redis.io). | ||
|
||
Pythonic container objects for working with the primary Redis data-types: | ||
The purpose of [walrus](https://github.com/coleifer/walrus) is to make working with Redis in Python a little easier by wrapping rich objects in Pythonic containers. walrus consists of: | ||
|
||
* ``Hash`` | ||
* ``Set`` | ||
* ``ZSet`` (sorted set) | ||
* ``List`` | ||
* ``Array`` (custom type) | ||
|
||
These objects are meant to look and act like their native Python equivalents, except sorted sets, which are kind of their own thing... | ||
|
||
### Cache | ||
|
||
Simple cache implementation and caching decorator. | ||
* Wrappers for the Redis object types: | ||
* [Hash](https://walrus.readthedocs.org/en/latest/containers.html#hashes) | ||
* [List](https://walrus.readthedocs.org/en/latest/containers.html#lists) | ||
* [Set](https://walrus.readthedocs.org/en/latest/containers.html#sets) | ||
* [Sorted Set](https://walrus.readthedocs.org/en/latest/containers.html#sorted-sets-zset) | ||
* [HyperLogLog](https://walrus.readthedocs.org/en/latest/containers.html#hyperloglog) | ||
* [Array](https://walrus.readthedocs.org/en/latest/containers.html#arrays) (custom type) | ||
* A simple [Cache](https://walrus.readthedocs.org/en/latest/cache.html) implementation that exposes a decorator for caching function and method calls. | ||
* Lightweight data [Model](https://walrus.readthedocs.org/en/latest/models.html) objects that support persisting structured information and performing queries using secondary indexes. | ||
|
||
### Models | ||
|
||
Persistent structures implemented on top of Hashes. Supports indexing to allow filtering with equality conditions. | ||
Persistent structures implemented on top of Hashes. Supports secondary indexes to allow filtering on equality, inequality, ranges, less/greater-than, and a really basic full-text search index. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters