This packages contains some color Palettes that are very important for visualizing graphs and doing other stuffs.
Project description
📘 pigmenta
- Version:
0.0.1 - License:
MIT - Author:
Crispen Gari - Python Compatibility: Python
3.10+
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: If
pigmentayou 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pigmenta-0.0.1.tar.gz.
File metadata
- Download URL: pigmenta-0.0.1.tar.gz
- Upload date:
- Size: 615.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e064ad607b483c717b4ad3af27883c4572555bd63ebc5bd64bba7eb7f41f75f
|
|
| MD5 |
1181f3d0cb62813dcc640577e06be0ec
|
|
| BLAKE2b-256 |
d0220af258b45805ebb4ee2366ef8f79f5161494b017190ed40a35f4cbe29f5c
|
File details
Details for the file pigmenta-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pigmenta-0.0.1-py3-none-any.whl
- Upload date:
- Size: 650.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
512075de7083337a6544dccbd2317e4d85e856a8ea6f3517c6c2102c1120acbe
|
|
| MD5 |
fe2bd09d9a09135cf2ac200c1e299dfb
|
|
| BLAKE2b-256 |
6ab273bdb84e7c90f4d94f5f49bbf30a172c2b1d22f3ff5501f59f1f7556d8e8
|