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:

  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
    palette = [...]
    from prev_gen import Previewer
    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-6.0.1-py3-none-any.whl (102.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prev_gen-6.0.1-py3-none-any.whl
  • Upload date:
  • Size: 102.7 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-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a32238e4829c4445aac41c0f402b593d23e7538688bbc324b13b87db8d3bf7e7
MD5 50f55d35499c12a15093a1c539c2d486
BLAKE2b-256 d4e2b8b0884b9880213db605520f9c1ec99124c079f0bc81ac73b4e6545ca081

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