Skip to main content

Python binding for ElaWidgetTools based on PySide6

Project description

PySide6-Ela

Python binding for ElaWidgetTools based on PySide6

PySide6-Ela 是对优秀的 C++ 组件库 ElaWidgetTools 的 Python 封装。它利用 Shiboken6 生成高性能的 Python 绑定,让你在 Python 环境下也能享受流畅、美观的 Fluent Design 风格 UI。


🚀 特性

  • 原生体验:基于 ElaWidgetTools C++ 核心,性能卓越。
  • 易于使用:完全适配 PySide6,符合 Python 开发习惯。
  • 自动布局:内置对 ElaFlowLayout 等高级布局的支持。
  • 跨平台:提供 Windows 和 Linux 的预编译 Wheel 包。

📦 安装

推荐使用 uvpip 进行安装:

pip install PySide6-Ela

🛠️ 快速上手

from PySide6 import QtWidgets
from PySide6_Ela import eApp, ElaWindow

import sys

if __name__ == "__main__":
    app = QtWidgets.QApplication(sys.argv)
    eApp.init() # 初始化 Ela 环境
    
    window = ElaWindow()
    window.setWindowTitle("PySide6-Ela Demo")
    window.show()
    
    sys.exit(app.exec())

🏗️ 编译说明

如果你希望从源代码编译:

克隆仓库并包含子模块:

git clone --recursive https://github.com/jhq223/PySide6-Ela.git

使用 uv 安装依赖:

uv sync

运行本地构建脚本:

uv run scripts/local_build.py

📄 开源协议

本项目采用 LGPL v3.0 协议。ElaWidgetTools 核心库遵循其自身的开源协议。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyside6_ela-0.1.3-cp39-abi3-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.9+Windows x86-64

pyside6_ela-0.1.3-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl (31.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ x86-64manylinux: glibc 2.35+ x86-64

File details

Details for the file pyside6_ela-0.1.3-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pyside6_ela-0.1.3-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyside6_ela-0.1.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0f4736136e5b65b1329d5c5608aa31daaf4f563f3659e8c89e93b36421b1927b
MD5 3071358f9ac2f2f64964dbf981db206d
BLAKE2b-256 38cff41b7a0e48dbc29ad637c937a85091dc0f3bfb2aa62991f6001f0d70a8c9

See more details on using hashes here.

File details

Details for the file pyside6_ela-0.1.3-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pyside6_ela-0.1.3-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 31.1 MB
  • Tags: CPython 3.9+, manylinux: glibc 2.34+ x86-64, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyside6_ela-0.1.3-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 2f79561dc9e2bf0950851b67dc3468e2ed5190331e51f2842f0f6786f8bacd3c
MD5 8b3a72227b186beacc71aef6d35ac431
BLAKE2b-256 6eeb699c155fd1cf0eec86fa3b46990dc8553410c3293da10b496467728a180f

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