Generate color palettes using artificial intelligence (OpenAI).
Project description
Pailettes
Generate color palettes using artificial intelligence. The OpenAI API is used for this, so you will require an account.
Installation
Pipx
pipx install pailettes
Pip
pip install pailettes
Configuration
To configure your OpenAI API key, create an environment variable as follows.
Windows
TODO
MacOS
TODO
Linux
export OPENAI_KEY="your-key-goes-here"
This will set your OpenAI key for that terminal session. If you would like to permanently set the environment variable, consult the documentation of your OS/shell.
Usage
Quick Start
pailettes retro
This creates a color palette with a "retro" theme.
Number of colors
To specify the number of colors in your palette:
pailettes retro --color-count=6
Number of palettes
To specify the number of palettes to generate:
pailettes retro --palette-count=3
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pailettes-0.1.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for pailettes-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c304092c1e68420d98fcd1ccfb7129b08edf780fabf5d4aca43b175ea19057 |
|
MD5 | 4a86ecaa9d57e88fed22778a42c14d11 |
|
BLAKE2b-256 | ee78642914202ae95a963488a1b89f0fe192ab33542599af4ec9f696bd7317a0 |