📘 pigmenta
- Version:
0.0.2 - License:
MIT - Author:
Crispen Gari - Python Compatibility: Python
3.9+
Table of Contents
- 📘 pigmenta
- Table of Contents
- 🌈 Overview
- 🚀 Features
- 📦 Installation
- 🧪 Usage
- 🛠️ Custom Palettes
- 💡 Use Cases
- 🧩 Future Plans
- 📬 Contributing
- 📝 License
🌈 Overview
pigmenta is a lightweight Python package that provides easy access to a curated collection of beautiful color palettes. It is designed for developers, designers, data scientists, and artists who want to use harmonious and theme-based color palettes in visualizations, UI design, machine learning plots, or generative art.
🚀 Features
- Access over 30 named color palettes.
- Themes include:
pastel,vintage,neon,sunset,earth,skin,space, and more. - Easy integration with libraries like Matplotlib, Seaborn, Plotly, or your own app.
- Simple API via a class or dictionary.
- Extensible and open-source.
📦 Installation
pip install pigmenta
Note: You can install it directly from a GitHub repo:
pip install git+https://github.com/yourusername/pigmenta.git
🧪 Usage
First you need to start by importing the package.
from pigmenta import PALETTES
You can access the color pallets as follows:
# Get a pastel palette
colors = PALETTES.pastel
print(colors)
Example with Matplotlib
import matplotlib.pyplot as plt
from pigmenta import PALETTES
colors = PALETTES.sunset
plt.bar([1, 2, 3], [3, 5, 2], color=colors[:3])
plt.title("Bar chart using pigmenta")
plt.show()
🎨 Available Palettes
Here are the palette names you can access via PALETTES.<name>:
pastel, vintage, retro, neon, gold, light, dark, warm, cold,
summer, fall, winter, spring, happy, nature, earth, night, space,
rainbow, gradient, sunset, sky, sea, kids, skin, food, cream,
coffee, wedding, christmas, halloween
Access any of them like:
PALETTES.sky
PALETTES.christmas
🛠️ Custom Palettes
You can also register or override palettes by modifying the COLORS dictionary directly if allowed by your API:
from pigmenta.core import COLORS
COLORS['custom'] = ['#111111', '#222222', '#333333']
💡 Use Cases
- Visualizing data in elegant color themes.
- Designing dashboards or GUIs.
- Generative art and graphics programming.
- Branding and UI prototyping.
🧩 Future Plans
- Add support for gradient generation.
- Integration with design tools or Jupyter extensions.
📬 Contributing
Contributions, bug reports, and palette suggestions are welcome! Please open an issue or pull request on the GitHub repository.
📝 License
This project is licensed under the MIT License — see the LICENSE file for details.
Metadata
Release files for pigmenta 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pigmenta-0.0.2.tar.gz | 634.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pigmenta-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / pigmenta-0.0.2.tar.gz
| Download URL | pigmenta-0.0.2.tar.gz |
|---|---|
| Size | 634.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
156c8a70c71c03bf4020ad4bf945b607c78142f6237d5a75e508d5367407dadc
|
|
BLAKE2b-256 checksum How to use checksums |
052c788ca0fe59801c771ede526000def47d188afb2e65b95e32135806bbc6ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / pigmenta-0.0.2-py3-none-any.whl
| Download URL | pigmenta-0.0.2-py3-none-any.whl |
|---|---|
| Size | 650.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e3d20ebf22804bb84a3458998d27ef672e23883ec6c2da19d1a0a0696dfeae5
|
|
BLAKE2b-256 checksum How to use checksums |
c51ae24fcc8cbfcb3185b6550deb5b57cc2eea8de714173898f8d089fd908afa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|