semvec/pypi-packages huggingface dataset:
django-multi-domains 0.0.1
Django Middleware for mapping domains to custom url confs.
License: MIT
Requires Python: >=3.6, <4

# django-multi-domains

This Django App sets specific [URL Confs](https://docs.djangoproject.com/en/dev/topics/http/urls/) for configured domains.

After all, the app has only a small middleware.

## Installation

```bash
pip install django-multi-domains
```

## Setup

The following configurations should be added in the [Django Settings](https://docs.djangoproject.com/en/dev/ref/settings/) Module.

1. Add `"multi_domains"` to `INSTALLED_APPS`

   ```python
   INSTALLED_APPS = [
       "...",
       "multi_domains",
   ]
   ```

2. Add middleware `"multi_domains.middleware.MultiDomainsMiddleware"` to the beginning of the `MIDDLEWARE`

   ```python
   MIDDLEWARE = [
       "multi_domains.middleware.MultiDomainsMiddleware",
       "...",
   ]
   ```

3. Define the mapping of domain and urlconf `MULTI_DOMAINS`

   ```python
   MULTI_DOMAINS = {
       "api.example.com": "api.urls",
       "shop.example.com": "shop.urls",
   }
   ```

If no mapping is set for a domain, `ROOT_URLCONF` is used as a fallback.
champion-name-converter 1.0.2
Convert League of Legends Champions Name to ID
License: MIT
Keywords: League,League of Legends,Champion Name Converter

# Champion Name Converter

Installing using pip: 

`
pip install champion-name-converter
`

Usage:

```python

from converter import Converter

convert = Converter()

champion_id = convert.champion_to_id("Akshan")
print(champion_id)

```
autogenfiles 0.0.4
Auto generate files based on a template
License: MIT
Requires Python: >=3.8.2
Keywords: auto generate files,jinja,templates,cli

# AutoGenFiles

Based on a predefined templating structure create new files

## Examples

Check [AutoGenFiles Playground](https://github.com/jtemporal/autogenfiles_playground).

## TODO

There are a few TODO marked on the code but here's a list of most general ones

- [x] guarantee file structure from templates folder
- [ ] test all
- [ ] make it into an installable cli
- [ ] document the variables.yaml structure
- [ ] document how to contribute
- [x] document example with the project in case
- [x] move all logic into an module structure