#!/usr/bin/env python
# coding=utf-8
"""
**Simple. Powerful. Persistent LRU caching for the requests library.**


.. topic:: ELI5

    **If you call the same function with the same parameters TWO times, it only does
    the work ONE time.**  Results from the function are cached in storage and retrieved
    from storage.

    It gets worse.  Unlike a regular LRU cache, the results are not destroyed when the
    program finishes. Instead its destroyed when it expires.


"""
from __future__ import absolute_import


__title__ = 'cache_requests'
__author__ = 'Manu Phatak'
__email__ = 'bionikspoon@gmail.com'
__version__ = '0.1.0'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Manu Phatak'

from . import decorate_requests
from .memoize import Memoize

requests = decorate_requests
"""Decorate requests library"""

import logging

try:  # Python 2.7+
    from logging import NullHandler
except ImportError:  # pragma: no cover
    class NullHandler(logging.Handler):
        def emit(self, record):
            pass

logging.getLogger(__name__).addHandler(NullHandler())

__all__ = ['requests', 'Memoize']

@@ -622,11 +622,11 @@
  = '
-0.1
+1.0
 .0'%0A

version bump