Skip to main content

Palette preview generator

Project description

Create a palette preview image by using simple declarations

size files
python version
license releases
wiki changelog
ko-fi

Usage:

Consider using the new GUI instead.

  1. pip install prev_gen
  2. Open up the wiki to see how everything works
  3. Create a file based on instructions (or just edit the python, yaml, json, or toml examples)
  4. # in a python file
    from prev_gen import Previewer
    palette = [...]
    Previewer(palette)
    
    or use the cli tool prev_gen for 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)
example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prev_gen-7.0.0-py3-none-any.whl (100.8 kB view details)

Uploaded Python 3

File details

Details for the file prev_gen-7.0.0-py3-none-any.whl.

File metadata

  • Download URL: prev_gen-7.0.0-py3-none-any.whl
  • Upload date:
  • Size: 100.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for prev_gen-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2251d10714a2cff49d605b8e85ccf6d5c7e2c1e53b3457a9417fb8791b98a617
MD5 ea8abf5ff4e95cd8c084777a13c9f296
BLAKE2b-256 966cc0d92abb9127157ada33f249aa3aa0a71b41f60c336378b90a349e3f3aca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page