Skip to main content

A modern GUI library featuring glassmorphism design aesthetics

Project description

GrandLight ✨

A modern Python GUI library featuring glassmorphism design aesthetics

License: MIT Python Version

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 effect
  • border_color: Optional border color for enhanced depth
  • shadow: Soft shadow for floating effect

Component Hierarchy

Window
  ├── GlassPanel
  │     ├── GlassButton
  │     ├── GlassLabel
  │     └── GlassInput
  ├── GlassNavBar
  └── GlassDialog

🎨 Styling Tips

For the best glassmorphism effects:

  1. Use subtle backgrounds: Light gradients or blurred images work best
  2. Layer transparencies: Stack multiple glass panels for depth
  3. Consistent blur values: Keep blur intensity similar across components
  4. Soft colors: Pastel or muted tones enhance the glass aesthetic
  5. 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


Made with ❤️ by Rhee Creative

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

grandlight-0.1.1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grandlight-0.1.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file grandlight-0.1.1.tar.gz.

File metadata

  • Download URL: grandlight-0.1.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for grandlight-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4e2ed7bfe3cf5e7908c8f46e1a9c9f11970ee7bfb669500eab28a3f50d32efec
MD5 0a06434251ef07b4567863726ffc4c2f
BLAKE2b-256 0913512abac2e886e58930516c829c4c0e8caaca6b93c1030ae50b3d6780895c

See more details on using hashes here.

File details

Details for the file grandlight-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: grandlight-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for grandlight-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5a4473974ae986d24bd2bb629d40f9d7199db703742aec55689f25ea3da2e90
MD5 2e9f40828371509202e64882532bd835
BLAKE2b-256 10e751dc2a13fcce80803ac27fac590b70e471f44141be218b233d4224adafd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page