Metadata-Version: 2.4
Name: ucache
Version: 0.1.5
Summary: lightweight and efficient caching library
Author-email: Charles Leifer <coleifer@gmail.com>
Project-URL: Repository, https://github.com/coleifer/ucache
Project-URL: Documentation, https://github.com/coleifer/ucache/blob/master/README.md
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: pylibmc
Requires-Dist: pylibmc; extra == "pylibmc"
Provides-Extra: memcached
Requires-Dist: pymemcached; extra == "memcached"
Provides-Extra: redis
Requires-Dist: redis; extra == "redis"
Provides-Extra: sqlite
Requires-Dist: peewee; extra == "sqlite"
Provides-Extra: greendb
Requires-Dist: greendb; extra == "greendb"
Dynamic: license-file

![](http://media.charlesleifer.com/blog/photos/ucache-logo-0.png)

ucache is a lightweight and efficient caching library for python.

* [Kyoto Tycoon](https://fallabs.com/kyototycoon/) via [ukt](https://github.com/coleifer/ukt)
* [Redis](https://redis.io) via [redis-py](https://github.com/andymccurdy/redis-py)
* [Sqlite](https://www.sqlite.org/) via [peewee](https://github.com/coleifer/peewee)
* [Kyoto Cabinet](https://fallabs.com/kyotocabinet/) via [kyotocabinet-python bindings](https://fallabs.com/kyotocabinet/pythondoc/)
* [DBM](https://en.wikipedia.org/wiki/DBM_(computing)) via [dbm module from standard library](https://docs.python.org/3/library/dbm.html)
* Simple in-memory cache using Python dictionary.

Features:

* Pickle serialization by default, msgpack also supported
* Optional (transparent) compression using `zlib`
* Efficient bulk-operations.
* Preload context manager for efficient pre-loading of cached data
