semvec/pypi-packages huggingface dataset:
pypixel 1.0.1
A Python Library for Image Processing
License: MIT

# pypixel

This is a Python image process library

# Feature

- open and save an Image 
- show an Image
- reshape an Image
- convert RGB to Gray
- convert RGB to Binary

# Usage

## Import package

```py
from pypixel import Image
```

## Open an Image

```py
img = Image.open("filepath")
```

## Save an Image

```py
img = Image.open("filepath")
...
# Do something to img
...
img.save("filepath")
```

## Show an Image

```py
img = Image.open("filepath")
img.show()
```

## Reshape an Image

```py
img = Image.open("filepath")
img.reshape([height,width])
```

## Convert to gray

```py
img = Image.open("url")
img = img.gray()    # default : Float Algorithm
img = img.gray("F") # Float Algorithm : r*0.3+g*0.59+b*0.11
img = img.gray("G") # Green Only
```

## Convert to binary
```py
img = Image.open("url")
img = img.binary()
```
basset-python-client 1.0.0b0
Python client for submitting snapshots to basset
License: MIT

# basset-python-client

> Python client for submitting snapshots to basset

## Documentation

Check out [basset.io](https://basset.io/docs/python-client) for instructions on usage

## Install from pip

```sh
pip install basset-python-client
```

## Install source

```sh
pipenv install
```

> This package uses pipenv, you can get instructions on installing pipenv [here](https://docs.pipenv.org)

## Run tests

```sh
pipenv run python -m unittest discover tests -v
```