Metadata-Version: 2.1
Name: prev-gen
Version: 1.2.2
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.2/)  
![license](https://img.shields.io/pypi/l/prev-gen) [![downloads](https://img.shields.io/badge/releases-here-green?logo=pypi)](https://pypi.org/project/prev-gen/#history)  
[![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 wiki](https://github.com/Aonodensetsu/prev_gen/blob/main/WIKI.md) to see how everything works
3. Create a file based on instructions (or just edit [the example](https://github.com/Aonodensetsu/prev_gen/blob/main/example.py))
4. ```python
   palette = [...]
   from prev_gen import Preview
   Preview(palette)
   # then run this code
   ```

# 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://raw.githubusercontent.com/Aonodensetsu/prev_gen/main/gruvbox.png)](https://github.com/Aonodensetsu/prev_gen/blob/main/gruvbox.png)
