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 包。
📦 安装
推荐使用 uv 或 pip 进行安装:
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyside6_ela-0.1.2-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: pyside6_ela-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3fc15934acf0906c59dcbdfe0b719a38dd964ddcbc846e4c5c5621d929fc316
|
|
| MD5 |
2ae179a656f39ac5a1e3e367b7ad8b66
|
|
| BLAKE2b-256 |
7110602b1e55dbb25c8563b1d8dc19d5ded5d48ebac966c5c8e2e4d19b7dff48
|
File details
Details for the file pyside6_ela-0.1.2-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl.
File metadata
- Download URL: pyside6_ela-0.1.2-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
- Upload date:
- Size: 31.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e747f50993301d929cc8a5f23d2da2f9be1738161bb25d26773d8e7cd79e180
|
|
| MD5 |
0f4989b150f76a4ffcd3c1ebd0133df7
|
|
| BLAKE2b-256 |
d4bf88a578f0730f5e35a8debdcccc3bd10893ee3bdcf946b2419ad3abbd938d
|