Skip to main content

Premium UI framework for PyQt5 with Windows 11 aesthetics, blur effects, and modern splash screens

Project description

Leviathan UI

Premium UI Framework for PyQt5 with Windows 11 Aesthetics

A modern, feature-rich UI framework that brings Windows 11's beautiful design language to your PyQt5 applications.

✨ Features

  • 🪟 WipeWindow: Three stunning window modes

    • polished: Solid background with shadows and rounded corners
    • ghost: Fully transparent overlay mode
    • ghostBlur: Acrylic/frosted glass blur effect (Windows 10/11)
  • 🌊 InmersiveSplash: Professional splash screen system

    • Adaptive mode (respects taskbar) and fullscreen mode
    • Custom phrases for startup and exit
    • Smooth fade animations
    • Automatic lifecycle management
  • 🎨 CustomTitleBar: Windows 11 style title bar

    • Native SVG-drawn window controls
    • System accent color integration
    • Smooth drag and maximize/minimize
  • 🎭 InmojiTrx: High-quality icon generation

    • Convert emojis to multi-resolution ICO files
    • Support for PNG/ICO images
    • Perfect taskbar rendering

📦 Installation

pip install leviathan-ui

Or install from wheel:

pip install leviathan_ui-1.0.0-py3-none-any.whl

🚀 Quick Start

from PyQt5.QtWidgets import QApplication, QWidget
from leviathan_ui import WipeWindow, InmersiveSplash, CustomTitleBar, InmojiTrx

app = QApplication([])

# Create your main window
window = QWidget()
window.resize(800, 600)

# Apply blur effect
WipeWindow.create()\
    .set_mode("ghostBlur")\
    .set_radius(15)\
    .apply(window)

# Add custom title bar
title_bar = CustomTitleBar(window, title="My App")

# Set app icon
InmojiTrx("🚀").apply(app)

# Create splash screen
splash = InmersiveSplash.create()\
    .set_mode("adaptive")\
    .set_phrases(["Loading modules...", "Ready!"])\
    .on_finish(window.show)\
    .start()

app.exec_()

📖 Documentation

WipeWindow

WipeWindow.create()\
    .set_mode("polished")      # "polished", "ghost", or "ghostBlur"
    .set_background("auto")     # "auto" or hex color "#RRGGBB"
    .set_radius(20)             # Corner radius in pixels
    .set_blur(30)               # Blur intensity (ghostBlur mode only)
    .apply(widget)

InmersiveSplash

InmersiveSplash.create()\
    .set_mode("adaptive")       # "adaptive" or "full"
    .set_color("auto")          # "auto" or hex color
    .set_phrases([...])         # List of status messages
    .on_finish(callback)        # Function to call when done
    .attach_to_window(win, exit_phrases=[...])  # Auto exit splash
    .start()

CustomTitleBar

title_bar = CustomTitleBar(
    parent=window,
    title="My Application",
    icon="🎨"
)

InmojiTrx

# From emoji
InmojiTrx("🐉").apply(app)

# From image file
InmojiTrx("icon.png").apply(app)

🎯 Requirements

  • Python 3.8+
  • PyQt5 >= 5.15.0
  • Pillow >= 9.0.0
  • Windows 10/11 (for blur effects)

📄 License

MIT License - feel free to use in your projects!

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

⭐ Credits

Created by Jesus Quijada

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

leviathan_ui-1.0.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

leviathan_ui-1.0.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file leviathan_ui-1.0.0.tar.gz.

File metadata

  • Download URL: leviathan_ui-1.0.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for leviathan_ui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 064069a84a8fea3b1200f2c6bccbe40401178b38105cc4f3fe05e05e1c1af8a2
MD5 c23ec230d4f92bb88e0f827353b2138a
BLAKE2b-256 93ee064909a53ae9f35116a84ead82ac2b1cbc6fd4f1c345e7aa102833ad2166

See more details on using hashes here.

File details

Details for the file leviathan_ui-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: leviathan_ui-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for leviathan_ui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eaccba5f4b87b5ec2c91a33db6222c02063f848b64538af0730c6ca7dd23437
MD5 3b7b1e1a8755ae6bf3d8744a2c0f6c6a
BLAKE2b-256 0370082c4af8d287a1322ab61dd75a35ce00034de9a221baf629e77bfd1e9d0a

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