semvec/pypi-packages huggingface dataset:
django-block-ip 0.2.0
Simple IP and IP-range blocking for Django
License: BSD

django-block-ip
---------------

This is a simple application to restrict access by IP address.  There's a few other apps that do this out there, but they tend to have other features such as rate limiting.  I think it's best to leave rate-limiting to rate-limiting specific apps, so this just blocks IPs.

Usage
=====

* `pip install django-block-ip`
* Add `block_ip` to your `INSTALLED_APPS`.
* Add `block_ip.middleware.BlockIPMiddleware` to your `MIDDLEWARE_CLASSES`.
* Run `syncdb`.
* Add one or more entries to the `BlockIP` list in the admin.
  You can just enter a single IP or use a network mask, like this: 213.67.43.0/24

Acknowledgments
===============

This is based on http://github.com/svetlyak40wt/django-ban, which was based on the Justquick's django snippet (http://www.djangosnippets.org/snippets/725/).
Flask-Cake 0.3.1
Flask extension to execute Cake on filesystem events.
License: BSD

# Flask-Cake

[![Build Status](https://travis-ci.org/rsenk330/Flask-Cake.png?branch=master)](https://travis-ci.org/rsenk330/Flask-Cake)

Support for automatically executing CoffeeScript Cake files for Flask.

## Quickstart

```python
from flask import Flask
from flask_cake import Cake

app = Flask(__name__)
cake = Cake(app)
```

Whenever there is a change in the `static/coffee/` directory, `cake build` is executed.

## More Info

* [Flask-Cake Documentation](http://flask-cake.readthedocs.org/)
* [Cake Documentation](http://coffeescript.org/#cake)
* [Flask Documentation](http://flask.pocoo.org/docs/)