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

a tiny and smart redis data structure wrapper of honey project based on Python

Project Description
使用方式

from honeycomb import Dict, Counter, HoneyCache, cache_it, cache_it_json, SortedSet, List

if __name__ == '__main__':
import time
#排序set
s = SortedSet(key='testing')
for i in range(10):
s.add(i, int(time.time()))

#升序
for i in s.chunk(10, 5, last=True):
print i

c = Counter(key='like')
c.incr('shop_item_1')
c.keys() # or c.items()

d = Dcit(key='like')
d['user_id'] = {'click': '1'}

d.items() # or d.popitem()

@cache_it(limit=100, expire=60 * 60, namespace="user_like")
def testCacheBean(n):
print 'Cache for namespace: ', n
return [i for i in range(n)]

testCacheBean(10)

# list

ls = List(key='test_ls')
ls.append(1)
print ls[0]
Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
honeycomb-0.2.3.tar.gz (13.7 kB) Copy SHA256 Checksum SHA256 Source Apr 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting