Metadata-Version: 1.0
Name: limit
Version: 0.2.2
Summary: Decorator that limits the calling rate of a function
Home-page: http://github.com/enricobacis/limit
Author: Enrico Bacis
Author-email: enrico.bacis@gmail.com
License: MIT
Description: Description
        -----------
        
        This decorator limits the calling rate of the decorated function. The rate is
        ``limit`` over ``every``, where limit is the number of invocation allowed every
        ``every`` seconds. ``limit(4, 60)`` creates a decorator that limits the function
        calls to *4 per minute*. If not specified, ``every`` defaults to ``1`` second.
        
        .. code:: python
        
            @limit(4, 60)
            def function(...):
                """never invoke this function more than 4 times per minute."""
                ...
        
        Installation
        ------------
        
        The package has been uploaded to `PyPI`_, so you can install it with pip:
        
            pip install limit
        
        
        .. _PyPI: https://pypi.python.org/pypi/limit
        
Keywords: rate ratelimit ratelimiter limit limiting api function
Platform: UNKNOWN
