semvec/pypi-packages huggingface dataset:
django-request-mapping 0.0.12
spring-like request_mapping for django.

Make urlpatterns more human-readable.

#### Requirements
```bash
django == 2.x
```
notice: I haven't tested it in version 3.x, so I don't know if it is supported, if there is any result, you can tell me

#### Install

Install and update using pip:


```python
pip install -U  django-request-mapping
```


#### A Simple Example


view.py

```python
from django_request_mapping import request_mapping


@request_mapping("/user")
class UserView(View):

    @request_mapping("/login/", method="post")
    def login(self, request):
        data = request.POST
        return HttpResponse("ok")

    @request_mapping("/signup/", method="post")
    def signup(self, request):
        return HttpResponse("ok")

    @request_mapping("/<int:user_id>/role/")
    def get_role(self, request, user_id):
       return HttpResponse("ok") 

    @request_mapping("/<int:pk/", method='delete')
    def delete(self, request, pk):
        User.objects.filter(pk=pk).delete()
        return HttpResponse("ok")


@request_mapping("/role")
class RoleView(View):
    # ...

```


urls.py
```python
from django_request_mapping import UrlPattern
urlpatterns = UrlPattern()
urlpatterns.register(UserView)
urlpatterns.register(RoleView)
```

and request urls are:

```bash
post:  http://localhost:8000/user/login/
post:  http://localhost:8000/user/signup/

get:  http://localhost:8000/user/1/role/
delete: http://localhost:8000/user/1/
# ...
```


#### Full Example

https://github.com/sazima/django-request-mapping/tree/master/example
vowelcheck 0.1.3
Check the crater is vowel or not.
Requires Python: >=3.6

# Description #
# Vowel Check
This program check whether the inputed sting is a vowel or not.

# How to Install the package
run the following command to install :
pip install vowelcheck

# Usage 
from vowelcheck import vowel_check

1. vowel_check("a")

2. a = "s"
   vowel_check(a)

GitHub Repostry:

To check the sourse code: https://github.com/nabeelfahmi12/pypi_vowel_check
genwal 0.0.1
Little python script to generate Gentoo wallpapers
Requires Python: >=3.4

# genwal
Little python script to generate Gentoo wallpapers

## Notice
__**wallpaper.svg is modified version of [gentoo logo](https://www.gentoo.org/inside-gentoo/artwork/gentoo-logo.html), I added background and modular color  
wallpaper.svg is licensed CC-BY-SA/2.5**__

## Install
Install from git:
```
python -m pip install git+https://github.com/GrbavaCigla/genwal
```
Install from pypi (coming soon):
```
python -m pip install genwal
```

## Usage

Without any parametars, default png is generated

```
usage: genwal [-h] [--bg BG] [--fg1 FG1] [--fg2 FG2] [--fg3 FG3]
              [--scale SCALE]

Little python script to generate Gentoo wallpapers

optional arguments:
  -h, --help            show this help message and exit
  --bg BG, --background BG
  --fg1 FG1, --foreground1 FG1
  --fg2 FG2, --foreground2 FG2
  --fg3 FG3, --foreground3 FG3
  --scale SCALE
```

## TODO
- Add more distros
- Add option to change scale of logo
- Support other aspect ratios