GrandLight ✨
A modern Python GUI library featuring glassmorphism design aesthetics
Overview
GrandLight is a revolutionary GUI library that brings the elegant glassmorphism design trend to Python applications. With its frosted glass effects, transparency layers, and modern aesthetics, GrandLight enables developers to create stunning user interfaces that feel premium and contemporary.
✨ Features
- 🎨 Glassmorphism Design: Built-in components with frosted glass aesthetics
- 🌈 Transparency Effects: Beautiful blur and transparency layers
- 🎭 Modern UI Components: Buttons, panels, windows, and more with glassmorphic styling
- 🚀 Easy to Use: Simple, intuitive API for rapid development
- 🎯 Customizable: Full control over colors, blur intensity, and transparency
- ⚡ Performance Optimized: Efficient rendering for smooth animations
- 🔧 Extensible: Build your own custom glassmorphic components
🚀 Quick Start
Installation
pip install grandlight
Basic Usage
from grandlight import Window, GlassPanel, GlassButton
# Create a glassmorphic window
window = Window(title="My Glassmorphic App", size=(800, 600))
# Add a glass panel
panel = GlassPanel(
blur=20,
opacity=0.7,
background_color=(255, 255, 255, 100)
)
window.add(panel)
# Add a glass button
button = GlassButton(
text="Click Me",
blur=15,
opacity=0.8
)
panel.add(button)
# Run the application
window.run()
📚 Core Concepts
Glassmorphism Properties
GrandLight components support the following glassmorphism properties:
blur: Intensity of the backdrop blur effect (0-100)opacity: Transparency level (0.0-1.0)background_color: RGBA color tuple for the glass effectborder_color: Optional border color for enhanced depthshadow: Soft shadow for floating effect
Component Hierarchy
Window
├── GlassPanel
│ ├── GlassButton
│ ├── GlassLabel
│ └── GlassInput
├── GlassNavBar
└── GlassDialog
🎨 Styling Tips
For the best glassmorphism effects:
- Use subtle backgrounds: Light gradients or blurred images work best
- Layer transparencies: Stack multiple glass panels for depth
- Consistent blur values: Keep blur intensity similar across components
- Soft colors: Pastel or muted tones enhance the glass aesthetic
- Minimal borders: Thin, light borders complement the frosted look
📖 Documentation
For comprehensive documentation, visit our GitHub repository.
🛠️ Requirements
- Python 3.8 or higher
- Pillow (PIL) for image processing
- NumPy for efficient array operations
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Rheehose (Rhee Creative)
Copyright © 2008-2026
🌟 Acknowledgments
Special thanks to the design community for inspiring the glassmorphism trend and making GUI development more beautiful.
📮 Contact
- GitHub: @hslcrb
- Issues: Report a bug
Made with ❤️ by Rhee Creative
Metadata
Release files for grandlight 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grandlight-0.1.1.tar.gz | 20.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grandlight-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / grandlight-0.1.1.tar.gz
| Download URL | grandlight-0.1.1.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e2ed7bfe3cf5e7908c8f46e1a9c9f11970ee7bfb669500eab28a3f50d32efec
|
|
BLAKE2b-256 checksum How to use checksums |
0913512abac2e886e58930516c829c4c0e8caaca6b93c1030ae50b3d6780895c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / grandlight-0.1.1-py3-none-any.whl
| Download URL | grandlight-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5a4473974ae986d24bd2bb629d40f9d7199db703742aec55689f25ea3da2e90
|
|
BLAKE2b-256 checksum How to use checksums |
10e751dc2a13fcce80803ac27fac590b70e471f44141be218b233d4224adafd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|