Skip to main content
# qtilities

A collection of utility programs for PyQt5 development.

## Installation

### From PyPI

pip install qtilities

### From source

git clone https://github.com/pylipp/qtilities
cd qtilities
make install

## Contents

### `pqp` and `pqpc`

> Python QML Previewer and Client

`pqp` previews QML components and continuously updates while you're editing the source code.

#### Start

Launch an empty previewer:

> pqp

Launch the previewer displaying one or more components by providing the paths:

> pqp TextFoo.qml bar/ComboBaz.qml

#### Loading components

Load components by clicking the 'Load' button.

Alternatively you can run the client:

> pqpc HackWindow.qml

It sends one or more component paths via UDP to port 31415. The previewer `pqp` listens to that port and loads the components.

#### Pausing/resuming preview

`pqp` continuously updates, regardless of changes in the source code or not. If you wish to test user interaction functionality of your component, you can pause the preview by clicking the 'Preview' button.

### `qmltags`

> Basic ctags generator for QML components

`qmltags` generates 'class' ctags for custom QML components.

Run without arguments to recursively parse the current directory and its subdirectories for QML files

> qmltags

Alternatively, you can provide one or more paths to QML components:

> qmltags HackWindow.qml screen/*.qml

This assumes that your shell performs file name expansion.

Note that `qmltags` overwrites a `tags` file in the current working directory if it exists.

### `pyqmlscene`

> Basic Python port of the `qmlscene` utility

Run with a QML file holding an arbitrary component as argument:

> pyqmlscene MyComponent.qml


Metadata

Release files for qtilities 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for qtilities 0.8
File Interpreter ABI Platform
qtilities-0.8-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / qtilities-0.8-py2.py3-none-any.whl

Download URL qtilities-0.8-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1f287be09ee76017ec579cccbb060b91540a25c305988541137fdb9fc19d1cee
BLAKE2b-256 checksum
How to use checksums
59626d1e746c6d9f85c492a6ca029e1abdf08072d6f6fde7a64a8412065ff25c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.5.3

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page