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 核心库遵循其自身的开源协议。
Metadata
Release files for PySide6-Ela 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyside6_ela-0.1.4-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for pyside6_ela-0.1.4-cp39-abi3-win_amd64.whl |
| pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ x86-64, Linux glibc 2.35+ x86-64 | Details for pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl |
Total release size: 9.9 MB
Release files / pyside6_ela-0.1.4-cp39-abi3-win_amd64.whl
| Download URL | pyside6_ela-0.1.4-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a896b45b3f71f6d304e2d0a2dc8d5cfaae2a15acc06cf84382c64997118f30cf
|
|
BLAKE2b-256 checksum How to use checksums |
26b281554943576af5feff1c8b02b66621466478c878679714048e9c3955018c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Release files / pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
| Download URL | pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cc266f5ba9a0c8e92f0625553017f55b206ed52aeeb6e7166734f95945a0a38d
|
|
BLAKE2b-256 checksum How to use checksums |
f477ba535793b15c148272ef3a8ac32df320eeb4905560a2c0b26952985397bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Security for PySide6-Ela 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.