Metadata-Version: 1.1
Name: djlimiter
Version: 0.1.0
Summary: Rate limiting for django applications
Home-page: https://djlimiter.readthedocs.org
Author: Ali-Akber Saifee
Author-email: ali@indydevs.org
License: Copyright (c) 2014 Ali-Akber Saifee 

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


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://pypip.in/v/djlimiter/badge.png
            :target: https://crate.io/packages/djlimiter/
        .. |license| image:: https://pypip.in/license/djlimiter/badge.png
            :target: https://pypi.python.org/pypi/djlimiter/
        
        *********
        djlimiter
        *********
        |travis-ci| |coveralls| |pypi| |license|
        
        djlimiter provides rate limiting features to django via as 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.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.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: PyPy
