semvec/pypi-packages huggingface dataset:
flask-guardian 0.1.1
A small flask package
Requires Python: >=3.7

# Flask-Guardian

---

## About

This Package is inspired by [Joi](https://joi.dev/)


## Installation

**Use pip for installation**

```sh
pip install flask-guardian
```

## How to use

### Create your rule

```py

from flask_guardian.rules import Rules

my_rules = {
  "login": Rules().Required().String().Max(20),
  "password": Rules().Required().String().Min(8).Max(120)
}
```

### Add the middleware inside your route

```py
@app.route("/login", methods=["POST"])
@Validator(my_rules)
def login_():
  '''your code here'''
```

## Rules

#### .String()
Verify if the parameter is a string.

#### .Integer()
Verify if the parameter is an integer.

#### .Email()
Using a regex, verify if the parameter is conform with email format.

#### .Min(x)
Verify if the parameter len is more than x.

#### .Max(x)
Verify if the parameter len is less or equal than x.

#### .Contains([x, y, z])
Verify if the parameter contains at least one argument of the array.

#### .notContains([x, y, z])
Verify if the parameter not contains any argument of the array.

#### .Equal(x)
Verify if the parameter equal x.

#### .notEqual(x)
Verify if the parameter not equal x.
tuna-wrap 0.1.3
Wraps Nautilus scripts for use in Thunar file manager
Keywords: Thunar Nautilus script wrapper

===========
Description
===========

Run Nautilus scripts within Thunar file manager. Tuna-wrap wraps
Nautilus filemanager scripts to run these from Thunars custom actions.

**License**

    MIT License

**Notes**

    * Only tested on ubuntu with nautilus scripts written in python
    * Only tested with python3

========
Features
========

    * share you scripts between Thunar, Nautilus and Nemo
    * very easy use

============
Installation
============

**Installation / Deinstallation**

    *with pip*
        
        ::
        
            pip3 install tuna-wrap
    
            pip3 uninstall tuna-wrap


    *or setup.py*

        1. Unpack your package.
        2. Open a terminal and change to the folder which contains the setup.py and type

        ::

            python setup.py install
   
=====
Setup
=====
    
    * Edit your Thunar custom actions in following scheme:
      tuna-wrap "YOUR NAUTILUS SCRIPT NAME" "%d" "%N"
    * Make sure your scripts are in one of these places:
    
          ~/.local/share/nautilus/scripts/
          ~/.scripts/
          ~/.local/share/nemo/scripts/
          
    * Do´t forget to make your scripts executable
      
=====
Usage
=====

    * Use it as your other custom actions
    * get this readme with: tuna-wrap --help
    
=====
Hints
=====

    * The logfile is stored in you home directory: ~/.tuna-wrap.log
    * For a more verbose tuna-wrap output add "DEBUG" as last argument
image-processing-KBrenand 0.0.1
This package performs a few image operations like Sobel and Saturation.
Requires Python: >=3.8

# image_processing-KBrenand

## The package image_processing-KBrenand is used to perform:
	
- Rgb2Yiq
- Yiq2Rgb
- RgbNegative
- YNegative
- Correlation
- Rgb2hsb
- Hsb2rgb
- Saturation

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install image_processing-KBrenand

```bash
pip install image_processing-KBrenand
```

## Usage

```python
import matplotlib.pyplot as plt
from image_processing.processing import functions

image = functions.open("lena.jpg")
result = functions.correlation(image, 3, 3, "sobelV", 0, True)

plt.imshow(result)
plt.show()
```

## Author
Kelvin Brenand

## License
[MIT](https://choosealicense.com/licenses/mit/)