fw-pyqt-management


Namefw-pyqt-management JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://gitlab.com/flywheel-io/scientific-solutions/lib/fw-pyqt-hierarchy-tree-items
SummaryA cross-platform PyQt Library to represent the Flywheel hierarchy with specific tree nodes.
upload_time2024-01-05 02:29:53
maintainer
docs_urlNone
authorFlywheel
requires_python>=3.8,<3.11
licenseMIT
keywords flywheel libs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fw-pyqt-management <!-- omit in toc -->

A library containing common functionality for Flwywheel PyQt applications.

- [Current Applications that use `fw-pyqt-management`](#current-applications-that-use-fw-pyqt-management)
- [Modules and Classes](#modules-and-classes)
- [Installation](#installation)
- [Usage](#usage)

## Current Applications that use `fw-pyqt-management`

Current applications include:

- The [Flywheel-Connect](https://gitlab.com/flywheel-io/scientific-solutions/app/slicer_flywheel_connect) Slicer Extension
- The [Flwywheel-Case-Iterator](https://gitlab.com/flywheel-io/scientific-solutions/app/Slicerflywheelcaseiterator) Slicer Extension
- The [Flywheel-App-Launcher](https://gitlab.com/flywheel-io/scientific-solutions/app/fw-app-launcher) PyQt application

## Modules and Classes

The `fw-pyqt-managment` library contains the following modules and classes:

- `adaptive_qt.py` : A module that creates conditional Qt imports based on the version
  of Qt installed. This allows for the use of Qt5, Qt6, or Slicer's PythonQt without
  having to change the code.
- `config.py` : A module that contains the `Config` class. This class is used to store
  and retrieve configuration settings for a PyQt application.
- `utils.py` : A module that contains utilities checking the system requirements for the
  application.
- `tree_management.py` : A module that contains the `TreeManagement` class. This class
  is used to manage the hierarchy tree in the PyQt Applications.
- `fw_container_items.py` : A module that contains all of the item classes (e.g.
  `ProjectItem`, `SubjectItem`, etc.) that are used or displayed in the hierarchy tree.

## Installation

The `fw-pyqt-management` library can be installed using `pip`:

```bash
pip install fw-pyqt-management
```

Alternatively, the library can be installed from source:

```bash
git clone https://gitlab.com/flywheel-io/scientific-solutions/libraries/fw-pyqt-management.git
cd fw-pyqt-management
pip install .
```

## Usage

As noted above, there are three
[currently deployed applications](#current-applications-that-use-fw-pyqt-management)
that use the `fw-pyqt-management` library. These applications can be used as examples
of how to use the library.

For a simple example of how to use the `fw-pyqt-management` library, see the
[simple_example.py](./examples/simple_example.py) in the
[examples directory](./examples/) of this repository.

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/flywheel-io/scientific-solutions/lib/fw-pyqt-hierarchy-tree-items",
    "name": "fw-pyqt-management",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<3.11",
    "maintainer_email": "",
    "keywords": "Flywheel,Libs",
    "author": "Flywheel",
    "author_email": "support@flywheel.io",
    "download_url": "",
    "platform": null,
    "description": "# fw-pyqt-management <!-- omit in toc -->\n\nA library containing common functionality for Flwywheel PyQt applications.\n\n- [Current Applications that use `fw-pyqt-management`](#current-applications-that-use-fw-pyqt-management)\n- [Modules and Classes](#modules-and-classes)\n- [Installation](#installation)\n- [Usage](#usage)\n\n## Current Applications that use `fw-pyqt-management`\n\nCurrent applications include:\n\n- The [Flywheel-Connect](https://gitlab.com/flywheel-io/scientific-solutions/app/slicer_flywheel_connect) Slicer Extension\n- The [Flwywheel-Case-Iterator](https://gitlab.com/flywheel-io/scientific-solutions/app/Slicerflywheelcaseiterator) Slicer Extension\n- The [Flywheel-App-Launcher](https://gitlab.com/flywheel-io/scientific-solutions/app/fw-app-launcher) PyQt application\n\n## Modules and Classes\n\nThe `fw-pyqt-managment` library contains the following modules and classes:\n\n- `adaptive_qt.py` : A module that creates conditional Qt imports based on the version\n  of Qt installed. This allows for the use of Qt5, Qt6, or Slicer's PythonQt without\n  having to change the code.\n- `config.py` : A module that contains the `Config` class. This class is used to store\n  and retrieve configuration settings for a PyQt application.\n- `utils.py` : A module that contains utilities checking the system requirements for the\n  application.\n- `tree_management.py` : A module that contains the `TreeManagement` class. This class\n  is used to manage the hierarchy tree in the PyQt Applications.\n- `fw_container_items.py` : A module that contains all of the item classes (e.g.\n  `ProjectItem`, `SubjectItem`, etc.) that are used or displayed in the hierarchy tree.\n\n## Installation\n\nThe `fw-pyqt-management` library can be installed using `pip`:\n\n```bash\npip install fw-pyqt-management\n```\n\nAlternatively, the library can be installed from source:\n\n```bash\ngit clone https://gitlab.com/flywheel-io/scientific-solutions/libraries/fw-pyqt-management.git\ncd fw-pyqt-management\npip install .\n```\n\n## Usage\n\nAs noted above, there are three\n[currently deployed applications](#current-applications-that-use-fw-pyqt-management)\nthat use the `fw-pyqt-management` library. These applications can be used as examples\nof how to use the library.\n\nFor a simple example of how to use the `fw-pyqt-management` library, see the\n[simple_example.py](./examples/simple_example.py) in the\n[examples directory](./examples/) of this repository.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A cross-platform PyQt Library to represent the Flywheel hierarchy with specific tree nodes.",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://gitlab.com/flywheel-io/scientific-solutions/lib/fw-pyqt-hierarchy-tree-items",
        "Repository": "https://gitlab.com/flywheel-io/scientific-solutions/lib/fw-pyqt-hierarchy-tree-items"
    },
    "split_keywords": [
        "flywheel",
        "libs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8b67d49d543b6039be1c4f844cd1e137986c2c53ff52309d581c6fc9150360a",
                "md5": "4b4da4002f2e180fdc9f08fddba2617d",
                "sha256": "ddde70b06a4e9303122b85768cbf5f64fbc78dae4af5ff96c0e428e0a072adae"
            },
            "downloads": -1,
            "filename": "fw_pyqt_management-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b4da4002f2e180fdc9f08fddba2617d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<3.11",
            "size": 442303,
            "upload_time": "2024-01-05T02:29:53",
            "upload_time_iso_8601": "2024-01-05T02:29:53.573546Z",
            "url": "https://files.pythonhosted.org/packages/e8/b6/7d49d543b6039be1c4f844cd1e137986c2c53ff52309d581c6fc9150360a/fw_pyqt_management-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-05 02:29:53",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "flywheel-io",
    "gitlab_project": "scientific-solutions",
    "lcname": "fw-pyqt-management"
}
        
Elapsed time: 0.15799s