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.4-cp39-abi3-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.9+Windows x86-64

pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl (5.8 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.4-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pyside6_ela-0.1.4-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.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}

File hashes

Hashes for pyside6_ela-0.1.4-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a896b45b3f71f6d304e2d0a2dc8d5cfaae2a15acc06cf84382c64997118f30cf
MD5 26857e4f65146e46a6da382bf8e398bd
BLAKE2b-256 26b281554943576af5feff1c8b02b66621466478c878679714048e9c3955018c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 5.8 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.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}

File hashes

Hashes for pyside6_ela-0.1.4-cp39-abi3-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 cc266f5ba9a0c8e92f0625553017f55b206ed52aeeb6e7166734f95945a0a38d
MD5 f3cdee1d87398e6716b5a4f0f7eaf85b
BLAKE2b-256 f477ba535793b15c148272ef3a8ac32df320eeb4905560a2c0b26952985397bb

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