海象
walrus的Python项目详细描述
##海象
啊![](http://media.charlesleifer.com/blog/photos/walrus-logo-0.png)
用于使用[redis](http://redis.io)的轻量级python实用程序。
[海象](https://github.com/coleifer/walrus)的目的是使工作 使用python中的redis稍微容易一些。而不是要求你学习新的 库,walrus子类并扩展了流行的redis py客户机,允许 作为替换品。除了 redis py,walrus增加了对一些新命令的支持,包括完全支持 对于流媒体和消费者群体。
海象包括:
- redis数据类型的pythonic容器类:
- [散列](https://walrus.readthedocs.io/en/latest/containers.html#hashes)
- [列表](https://walrus.readthedocs.io/en/latest/containers.html#lists)
- [设置](https://walrus.readthedocs.io/en/latest/containers.html#sets)
- [排序集](https://walrus.readthedocs.io/en/latest/containers.html#sorted-sets-zset)
- [超日志](https://walrus.readthedocs.io/en/latest/containers.html#hyperloglog)
- [数组](https://walrus.readthedocs.io/en/latest/containers.html#arrays)(自定义类型)
- [位字段](https://walrus.readthedocs.io/en/latest/containers.html#bitfield)
- [布鲁姆过滤器](https://walrus.readthedocs.io/en/latest/containers.html#bloomfilter)
- [streams](https://walrus.readthedocs.io/en/latest/streams.html)
- [自动完成](https://walrus.readthedocs.io/en/latest/autocomplete.html)
- [缓存](https://walrus.readthedocs.io/en/latest/cache.html)实现,它公开了几个用于缓存函数和方法调用的装饰器。
- [全文搜索](https://walrus.readthedocs.io/en/latest/full-text-search.html)支持集合操作。
- [图形存储](https://walrus.readthedocs.io/en/latest/graph.html)
- [速率限制](https://walrus.readthedocs.io/en/latest/rate-limit.html)
- [锁定](https://walrus.readthedocs.io/en/latest/api.html#walrus.Lock)
- 活动记录样式[模型](https://walrus.readthedocs.io/en/latest/models.html),支持持久化结构化信息和使用辅助索引执行复杂查询。
- 更多?[更多!](https://walrus.readthedocs.io)
###型号
在哈希之上实现的持久结构。支持辅助索引以允许对相等、不等、范围、小于/大于和基本全文搜索索引进行筛选。全文搜索具有布尔搜索查询解析器、porter词干分析器、stop word过滤和可选的双变音实现。
###找到虫子了吗?
啊![](http://media.charlesleifer.com/blog/photos/p1420743625.21.png)
请打开一个[github问题](https://github.com/coleifer/walrus/issues/new),我会尽力解决它!
###备用后端
海象还可以与redis类数据库[rlite](https://github.com/seppo0010/rlite)、[ledis](http://ledisdb.com/)和[vedis](http://vedis.symisc.net)集成。查看[文档](https://walrus.readthedocs.io/en/latest/alt-backends.html)了解更多详细信息。