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.0.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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grandlight-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3744e4b9b095438c75c3900aad59c5f6f5a273fae9b6ee36fa744a544db36f61
MD5 e8792634fe206b7414dd10419d27a5ea
BLAKE2b-256 ce8e9beac0e7c43e38433a4fe80f2ff45b3db8e17887b8478074cacfb2144005

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grandlight-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee014bae07be9fee4c8ba0fff1a0cec188141cd892a8cf8618c936ec944b4c7
MD5 556f99455fdfc5af900bfcf112377ae0
BLAKE2b-256 a93aee04dd22411892f326668dd025cfbd0fea0f98581740a8ef74cbb1b0bc8c

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