qtpy-fluent-widgets


Nameqtpy-fluent-widgets JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryA fluent design widgets library based on QtPy
upload_time2023-04-12 15:21:32
maintainer
docs_urlNone
author
requires_python>=3.7,<3.10
licenseGPLv3
keywords qtpy fluent widgets
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

# QtPy-Fluent-Widgets

[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)
[![Downloads](https://static.pepy.tech/badge/qtpy-fluent-widgets)](https://pepy.tech/project/qtpy-fluent-widgets)
![GitHub](https://img.shields.io/github/license/TaoChenyue/Qtpy-Frameless-Window?style=plastic)

A cross-platform frameless window based on QtPy.

</div>

This repo is based on *QtPy* and [PyQt-Fluent-Widgets](https://github.com/zhiyiYo/PyQt-Fluent-Widgets). Due to library in diffrent *PyQt-Fluent-Widgets* branches cannot exist in one virtual environment, I created this repository by adding *QtPy* dependence and modifying some modules. This repo will keep up with *PyQt-Fluent-Widgets*.

## Install
To install use pip:
```shell
pip install QtPy-Fluent-Widgets
```
Or clone the repo:
```shell
git clone https://github.com/TaoChenyue/QtPy-Fluent-Widgets.git
pip install -e .
```

## Usage
According to QtPy, environment argument ```QT_API``` must be set before importing qtpy. Here provides an easy way to set it.

```python
from qt_api import set_qt_api
# set through code
set_qt_api("pyqt5")
python examples/demo.py 
# set through sys.argv
set_qt_api(parse=True)
python examples/demo.py --api pyside6
```
If no QT_API is set, qtpy will use pyqt5 as default.

## Run Demo
```sh
cd examples/gallery
python demo.py
# or specify qt api
python demo.py --api pyqt5
python demo.py --api pyqt6
python demo.py --api pyside2
python demo.py --api pyside6
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "qtpy-fluent-widgets",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<3.10",
    "maintainer_email": "",
    "keywords": "qtpy fluent widgets",
    "author": "",
    "author_email": "TaoChenyue <3038816978@qq.com>,zhiyiYo <shokokawaii@outlook.com>",
    "download_url": "https://files.pythonhosted.org/packages/e7/e0/41d6a494f4395eaf0f0acc0a8a1e289fbb1bbe0277b0dd0bcbf321dd1ce8/QtPy-Fluent-Widgets-0.0.3.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n# QtPy-Fluent-Widgets\n\n[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)\n[![Downloads](https://static.pepy.tech/badge/qtpy-fluent-widgets)](https://pepy.tech/project/qtpy-fluent-widgets)\n![GitHub](https://img.shields.io/github/license/TaoChenyue/Qtpy-Frameless-Window?style=plastic)\n\nA cross-platform frameless window based on QtPy.\n\n</div>\n\nThis repo is based on *QtPy* and [PyQt-Fluent-Widgets](https://github.com/zhiyiYo/PyQt-Fluent-Widgets). Due to library in diffrent *PyQt-Fluent-Widgets* branches cannot exist in one virtual environment, I created this repository by adding *QtPy* dependence and modifying some modules. This repo will keep up with *PyQt-Fluent-Widgets*.\n\n## Install\nTo install use pip:\n```shell\npip install QtPy-Fluent-Widgets\n```\nOr clone the repo:\n```shell\ngit clone https://github.com/TaoChenyue/QtPy-Fluent-Widgets.git\npip install -e .\n```\n\n## Usage\nAccording to QtPy, environment argument ```QT_API``` must be set before importing qtpy. Here provides an easy way to set it.\n\n```python\nfrom qt_api import set_qt_api\n# set through code\nset_qt_api(\"pyqt5\")\npython examples/demo.py \n# set through sys.argv\nset_qt_api(parse=True)\npython examples/demo.py --api pyside6\n```\nIf no QT_API is set, qtpy will use pyqt5 as default.\n\n## Run Demo\n```sh\ncd examples/gallery\npython demo.py\n# or specify qt api\npython demo.py --api pyqt5\npython demo.py --api pyqt6\npython demo.py --api pyside2\npython demo.py --api pyside6\n```\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "A fluent design widgets library based on QtPy",
    "version": "0.0.3",
    "split_keywords": [
        "qtpy",
        "fluent",
        "widgets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "064d884e146548181a6e8c065d87060eebb3dd392e713cf41265f4cc66c30f12",
                "md5": "bb7ccfcb8d5f0c1e1aa3f4ced84594e3",
                "sha256": "2f8a64ae64f0be4834b7aca0f86e24479b508c43aa94ed8a88877ae3182bbdae"
            },
            "downloads": -1,
            "filename": "QtPy_Fluent_Widgets-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bb7ccfcb8d5f0c1e1aa3f4ced84594e3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<3.10",
            "size": 1921150,
            "upload_time": "2023-04-12T15:21:27",
            "upload_time_iso_8601": "2023-04-12T15:21:27.890032Z",
            "url": "https://files.pythonhosted.org/packages/06/4d/884e146548181a6e8c065d87060eebb3dd392e713cf41265f4cc66c30f12/QtPy_Fluent_Widgets-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7e041d6a494f4395eaf0f0acc0a8a1e289fbb1bbe0277b0dd0bcbf321dd1ce8",
                "md5": "02757ce7f5e481f2a8a24c06ec600730",
                "sha256": "673d2c2119f496b84348bc6a68459912d31dea5d8ebf9033d4aa45be85c1ef46"
            },
            "downloads": -1,
            "filename": "QtPy-Fluent-Widgets-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "02757ce7f5e481f2a8a24c06ec600730",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<3.10",
            "size": 1695904,
            "upload_time": "2023-04-12T15:21:32",
            "upload_time_iso_8601": "2023-04-12T15:21:32.658549Z",
            "url": "https://files.pythonhosted.org/packages/e7/e0/41d6a494f4395eaf0f0acc0a8a1e289fbb1bbe0277b0dd0bcbf321dd1ce8/QtPy-Fluent-Widgets-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-12 15:21:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "qtpy-fluent-widgets"
}
        
Elapsed time: 0.05730s