Metadata-Version: 2.1
Name: prev-gen
Version: 1.2.0
Summary: Create a palette preview image by using a simple config file
Home-page: https://github.com/Aonodensetsu/prev_gen
Author: Remigiusz Dończyk
Author-email: aonodensetsu@aonodensetsu.me
License: GPL-3.0
Keywords: palette,preview,generator,image
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Artistic Software
Classifier: Topic :: Multimedia :: Graphics :: Presentation
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pillow

## Create a palette preview image by using a simple config file
![size](https://img.shields.io/github/repo-size/aonodensetsu/prev_gen?label=size) ![files](https://img.shields.io/github/directory-file-count/aonodensetsu/prev_gen) ![lines](https://img.shields.io/tokei/lines/github/aonodensetsu/prev_gen)   
![py dep](https://img.shields.io/pypi/pyversions/prev-gen) [![version](https://img.shields.io/pypi/v/prev-gen)](https://pypi.org/project/prev-gen/1.2.0/)  
![license](https://img.shields.io/pypi/l/prev-gen) [![downloads](https://img.shields.io/badge/releases-here-green?logo=pypi)](https://pypi.org/manage/project/prev-gen/releases/)  
[![downloads](https://img.shields.io/badge/wiki-here-pink)](https://github.com/Aonodensetsu/prev_gen/blob/main/WIKI.md) [![downloads](https://img.shields.io/badge/changelog-here-pink)](https://github.com/Aonodensetsu/prev_gen/blob/main/CHANGELOG.md)
# Usage:
1. `pip install prev_gen`
2. Open up [the example](https://github.com/Aonodensetsu/prev_gen/blob/main/example.py) to see how everything works (instructions in the file)
3. Create a file based on instructions (or just edit the example)
4. Run that file to start the app

You can also import the package and use it in any of your code, simply pass an appropriate palette to the Preview class and you will get a pillow Image back. Simple as can be!

# Example:
Inspired by the great [Gruvbox](https://github.com/morhetz/gruvbox) theme, where even the preview is impressive  
And so, below is the Gruvbox palette preview recreated with this app  
[![example](https://github.com/Aonodensetsu/prev_gen/blob/main/gruvbox.png)](https://github.com/Aonodensetsu/prev_gen/blob/main/gruvbox.png)
