Metadata-Version: 1.1
Name: djlimiter
Version: 0.2
Summary: Rate limiting for django applications
Home-page: https://djlimiter.readthedocs.org
Author: Ali-Akber Saifee
Author-email: ali@indydevs.org
License: MIT
Description: .. |travis-ci| image:: https://secure.travis-ci.org/alisaifee/djlimiter.png?branch=master
            :target: https://travis-ci.org/#!/alisaifee/djlimiter?branch=master
        .. |coveralls| image:: https://coveralls.io/repos/alisaifee/djlimiter/badge.png?branch=master
            :target: https://coveralls.io/r/alisaifee/djlimiter?branch=master
        .. |pypi| image:: https://img.shields.io/pypi/v/djlimiter.svg?style=flat-square
            :target: https://pypi.python.org/pypi/djlimiter/
        .. |license| image:: https://img.shields.io/pypi/l/djlimiter.svg?style=flat-square
            :target: https://pypi.python.org/pypi/djlimiter
        
        *********
        djlimiter
        *********
        |travis-ci| |coveralls| |pypi| |license|
        
        djlimiter provides rate limiting features to django via a middleware.
        
        Quickstart
        ===========
        
        Add the rate limiter to your django projects' `settings.py` and enable a global rate limit for all
        views in your project:
        
        .. code-block:: python
        
           MIDDLEWARE_CLASSES += ("djlimiter.Limiter",)
           RATELIMIT_GLOBAL = "10/second"
        
        
        If you only want to enable rate limits to certain endpoints, leave out the `RATELIMIT_GLOBAL` setting and
        use the decorator approach instead in the respective view function:
        
        
        .. code-block:: python
        
            @limit("10/second")
            def index(request):
               ...
        
        
        
        For detailed documentation visit `Read the docs <http://djlimiter.readthedocs.org>`_
        
        
        
        .. :changelog:
        
        Changelog
        ---------
        
        0.2 2015-12-20
        ==============
        * Django 1.8/1.9 compatibility
        
        0.1.1 2015-01-09
        ================
        * Bug Fix: remove duplicate hits when rate limits are stacked.
        * Bug Fix: multiple rate limits returned by dynamic limits weren't respected.
        * Documentation tweaks.
        
        0.1.0 2015-01-09
        ================
        * first release.
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: PyPy
