Metadata-Version: 2.0
Name: django-tasix
Version: 0.2.0
Summary: Simple django app to allow/block IP addresses and ranges outside the Tas-IX network
Home-page: https://github.com/muminoff/django-tasix
Author: Sardor Muminov
Author-email: smuminov@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Dist: netaddr

# django-tasix

[![Build
Status](https://travis-ci.org/muminoff/django-tasix.svg?branch=master)](https://travis-ci.org/muminoff/django-tasix)

## What is Tas-IX?
Data exchange network in Uzbekistan, where many domestic ISP providers give access to resources within the network to their subscribers for free.

## What is `django-tasix`?
Simple django app to detect ip adresses/ranges of coming HTTP requests in middleware layer.

# Requirements

* Python (3.2, 3.3, 3.4, 3.5)
* Django (1.10)

# Installation

Install using '`pip`':

    pip install django-tasix

Add `'tasix'` to your `MIDDLEWARE_CLASSES` setting:

    MIDDLEWARE_CLASSES = (
        # other middleware classes
        'tasix.middleware.TasixMiddleware',
    )

## Disclaimer
Network range is being fetched manually from `http://tasix.sarkor.uz/full`, meaning correctness is based on 3rd party ISP provider which releases network information periodically.

## License
BSD


