Create a palette preview image by using simple declarations
Usage:
Consider using the new GUI instead.
pip install prev_gen- Open up the wiki to see how everything works
- Create a file based on instructions (or just edit the python, yaml, json, or toml examples)
-
# in a python file from prev_gen import Previewer palette = [...] Previewer(palette)
or use the cli toolprev_genfor conversions with no code
Migration to v6+
If you're using an older version of the library, pin the version to prev_gen<6.0.0 or upgrade by following the guide.
Example:
Inspired by the great Gruvbox theme, where even the preview is impressive
And so, below is the Gruvbox palette preview recreated with this app (click for selectable text)
Metadata
Release files for prev-gen 7.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prev_gen-7.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / prev_gen-7.0.0-py3-none-any.whl
| Download URL | prev_gen-7.0.0-py3-none-any.whl |
|---|---|
| Size | 100.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2251d10714a2cff49d605b8e85ccf6d5c7e2c1e53b3457a9417fb8791b98a617
|
|
BLAKE2b-256 checksum How to use checksums |
966cc0d92abb9127157ada33f249aa3aa0a71b41f60c336378b90a349e3f3aca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|