semvec/pypi-packages huggingface dataset:
django-multiple-domain 0.9.5a0
App for multi domain in django. Python2.x, Python3.x, Django>=1.4
License: MIT

# django-multiple-domain
App for multi domain in django. Python2.x, Python3.x, Django>=1.4

Add request.host with subdomain value or None

Quick start
-----------

1. Add "multidomain" to your INSTALLED_APPS setting like this:
```
      INSTALLED_APPS = (
          ...
          'multidomain',
      )
```
2. Include the 'multidomain.middleware.GetDomainMiddleware' MIDDLEWARE in your project settings.py like this:
```
      MIDDLEWARE = [
          ...
          'multidomain.middleware.GetDomainMiddleware',
      ]
```
3. Run `python manage.py migrate` to create the multidomain models.

In request object add two objects:
 * request.domain - Domain model from request objects or None
 * request.get_domain(request, reverse_url=None, *args, **kwargs) - Function by get domain.
    * request - required argument
    * reverse_lazy = optional. String format for reverse_lazy django function.
    * args, kwargs - optional arguments, for reverse_lazy.

TODO:
1) Localization
2) Many-Level domain
3) Docs
4) ...
aurorawatchuk 0.2.2
Python interface to the AuroraWatch UK API.
License: MIT

aurorawatchuk
=============

A Python interface to the AuroraWatch UK API.

Installation
------------

The easiest way to install the module is with ``pip``::

    pip install aurorawatchuk

Developers may wish to clone the git repository and install it in developer mode::

    git clone https://github.com/stevemarple/python-aurorawatchuk.git
    cd python-aurorawatchuk
    python setup.py develop

Using the module
----------------

A short tutorial describing how to use the module is available as an ipython notebook from
https://github.com/stevemarple/python-aurorawatchuk/blob/master/aurorawatchuk/examples/aurorawatchuk_api.ipynb





Credits
=======

"aurorawatchuk" is written and maintained by Steve Marple.


Contributors
------------

Please append your name here when you submit your first pull request.