Skip to main content

Pailettes

Generate color palettes using artificial intelligence. The OpenAI API is used for this, so you will require an account.

Pailettes

Installation

Pipx

pipx install pailettes

Pip

pip install pailettes

Configuration

To configure your OpenAI API key, create an environment variable as follows.

Linux

export OPENAI_KEY="your-key-goes-here"

Windows

TODO

MacOS

TODO

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

Output to JSON

To output the palettes in JSON format, use the to-json parameter:

pailettes synthwave --palette-count=2 --to-json

And to output the JSON to a file, just add the json-file parameter:

pailettes synthwave --palette-count=2 --to-json --json-file=palettes.json

An example output:

[
    {
        "name": "Neon Sunset",
        "colors": [
            "#FF0066",
            "#FF9900",
            "#FFCC00",
            "#33CCFF"
        ]
    },
    {
        "name": "Digital Dusk",
        "colors": [
            "#6600FF",
            "#00FFCC",
            "#FF33FF",
            "#FF6600"
        ]
    }
]

Metadata

Release files for pailettes 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pailettes 0.1.4
File Size Uploaded Provenance Actions
pailettes-0.1.4.tar.gz 4.0 kB Without provenance Details for pailettes-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pailettes 0.1.4
File Interpreter ABI Platform Actions
pailettes-0.1.4-py3-none-any.whl Python 3 none any Details for pailettes-0.1.4-py3-none-any.whl

Total release size: 8.3 kB

Release files / pailettes-0.1.4.tar.gz

Download URL pailettes-0.1.4.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce7eda9cc439299b6fe1e95ee2ccc6886fbc53e92ac751cceef5e2026c892513
BLAKE2b-256 checksum
How to use checksums
affbf85ea149dd44edcf60070676154b0318c4f98df43eae07f0990065f3d69c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Linux/6.8.0-76060800daily20240311-generic

Release files / pailettes-0.1.4-py3-none-any.whl

Download URL pailettes-0.1.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b67c45ac504df932ac5c9a060a66b088eb20c23d083e91c8ca9940861ef54163
BLAKE2b-256 checksum
How to use checksums
31eb461e7b2a33fd3d6422a93df36f99b8600bfe93634278d32287c2a7c29e55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Linux/6.8.0-76060800daily20240311-generic

Security for pailettes 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page