semvec/pypi-packages huggingface dataset:
Perceptron-Dhruvraj 0.0.2
Implementation of perceptron
Requires Python: >=3.7

# perceptron_pypi
perceptron_pypi


## How to use it

```python
from oneNeuron.perceptron import Perceptron

X, y = prepare_data(df)

model = Perceptron(eta=eta, epochs=epochs)
model.fit(X, y)
```
fill-image-resize 1.2.0
Package provides function for rather neat image resizing (like Fill resize in Figma)
Requires Python: >=3.6

# Package overview

This package is dedicated to solve problem of resizing images from one size and aspect ration to another in fancier way. This was inspired by Figma, where you can resize image using "Fill" type, so that image is not stretched.

## What happenes

![fill_image_resize](https://user-images.githubusercontent.com/33842017/133638932-0c9f9053-4e32-4675-8c44-988b1efd8fab.png)

## How to use

### Getting an image from local storage and using it afterwards

```python
from fill_image_resize import resize


path = 'image.png'
desired_width = 1020
desired_height = 1000
resized_image = resize(path, desired_width, desired_height)
resized_image.save('resized_image.png')
```

### Getting an image from the net and automaticly saving it

```python
from fill_image_resize import resize


path = 'https://user-images.githubusercontent.com/33842017/133638932-0c9f9053-4e32-4675-8c44-988b1efd8fab.png'
desired_width = 1020
desired_height = 1000
resize(path, desired_width, desired_height, 'resized_image.png')
```


# Requirements

### **Pillow** >= 7.0.0