semvec/pypi-packages huggingface dataset:
resizePixel 1.0.0
Python Resize Pixel
Requires Python: >3.7
Keywords: python,image,image quality,reduce,increase,frustrated

resizePixel
==========================

[![Build Status](https://travis-ci.org/mtchavez/python-package-boilerplate.png?branch=master)](https://travis-ci.org/mtchavez/python-package-boilerplate)
[![Requires.io](https://requires.io/github/mtchavez/python-package-boilerplate/requirements.svg?branch=master)](https://requires.io/github/mtchavez/python-package-boilerplate/requirements?branch=master)

change quality of the image

## Package

Basic structure of package is

```
.
â”œâ”€â”€ CHANGELOG.md
â”œâ”€â”€ CONTRIBUTING.md
â”œâ”€â”€ LICENSE
â”œâ”€â”€ README.md
â”œâ”€â”€ resizePixel
â”‚   â”œâ”€â”€ __init__.py
â”‚   â”œâ”€â”€ resizePixel.py
â”‚   â””â”€â”€ version.py
â”œâ”€â”€ script
â”‚   â””â”€â”€ test
â”œâ”€â”€ setup.py
â””â”€â”€ tests
    â”œâ”€â”€ __init__.py
    â”œâ”€â”€ __pycache__
    â”‚   â””â”€â”€ __init__.cpython-39.pyc
    â”œâ”€â”€ img
    â”‚   â””â”€â”€ test.png
    â””â”€â”€ unit
        â”œâ”€â”€ __init__.py
        â”œâ”€â”€ test_resizePixel.py
        â””â”€â”€ test_version.py
```

## Requirements

Package requirements are handled using pip. To install them do

```
pip install -r requirements.txt
```

## Tests

    Start the tests


## Usage

<code>

    # import library 

    from resizePixel.resizePixel import rpImage,reduce_qualtiy
    from PIL import Image
    import os
    # image path
    image_path = r"C:\Users\mkshgh\Downloads\img.png"
    # I am saving in the same directory 
    # img_path,img_name > C:\Users\mkshgh\Downloads, img.png
    img_path,img_name = os.path.split(image_path)
    output_img_name = 'output_'+img_name

    # open the image and check the current quality
    image_file = Image.open(image_path)
    my_image = rpImage(image_path,image_file)
    info = my_image.get_image_meta()
    print(info)

    # decrease quality explained above
    # Use quality from 1 to 99; 99 being the best and 1 being the worst quality
    # If the quality of the image is already low use 1 to 20; works great with larger files.
    new_image = reduce_qualtiy(output_img_name,image_file,quality=50,outputdir=img_path)
    print(new_image)
</code>
gym-algorithmic 0.0.1
Algorithmic Environments from OpenAI Gym
Requires Python: >=3.6, <3.10

# gym-algorithmic

## Environments

[Algorithmic Environments](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/algorithmic.md)  

[Copy-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/copy.md)  
[DuplicatedInput-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/duplicated_input.md)  
[RepeatCopy-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/repeat_copy.md)  
[Reverse-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/reverse.md)  
[ReversedAddition-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/reversed_addition.md)  
[ReversedAddition3-v0](https://github.com/Rohan138/gym-algorithmic/blob/main/docs/reversed_addition.md)  

Documentation credit: https://github.com/openai/gym/pull/2334

## Usage
```
$ pip install gym-algorithmic

import gym
import gym_algorithmic

gym.make("Copy-v0")
```

## Citation
This repository contains the algorithmic environments previously present in OpenAI Gym prior to Gym version 0.19.0.
These environments were introduced in the paper [Learning Simple Algorithms from Examples](https://arxiv.org/abs/1511.07275)

```
@inproceedings{Zaremba2016LearningSA,
  title={Learning Simple Algorithms from Examples},
  author={Wojciech Zaremba and Tomas Mikolov and Armand Joulin and R. Fergus},
  booktitle={ICML},
  year={2016}
}
```