Skip to main content

Automatic Qt parameter entry widgets using function signatures

PyPI version Downloads Documentation Status

Install using pip: pip install qtap

Basic usage:

from PyQt5 import QtWidgets
from qtap import Functions
from pyqtgraph.console import ConsoleWidget


def func_A(a: int = 1, b: float = 3.14, c: str = 'yay', d: bool = True):
    pass


def func_B(x: float = 50, y: int = 2.7, u: str = 'bah'):
    pass


if __name__ == '__main__':
    app = QtWidgets.QApplication([])

    # just pass your functions as a list, that's it!
    functions = Functions([func_A, func_B])

    console = ConsoleWidget(parent=functions, namespace={'this': functions})
    functions.main_layout.addWidget(console)

    functions.show()

    app.exec()

Metadata

Release files for qtap 0.1.2

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

Source distribution (sdist)

Source distribution for qtap 0.1.2
File Size Uploaded
qtap-0.1.2.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qtap 0.1.2
File Interpreter ABI Platform
qtap-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / qtap-0.1.2.tar.gz

Download URL qtap-0.1.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
32a7404f042b1f6868e582c2871787899f626daa6e840b4471b87aa531aaa148
BLAKE2b-256 checksum
How to use checksums
4c0a734b0e6587b926630643bbbe9b29c4e6966e47583c2166b074c10377c9dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

Release files / qtap-0.1.2-py3-none-any.whl

Download URL qtap-0.1.2-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8df9e176c7a497c5c34043d9ff3f33b4fc51c5761bee53127de6e00cb0a894d
BLAKE2b-256 checksum
How to use checksums
1f3473011418c2847e506ab16716acccaa78d65bc2faea8df07bd38e42668cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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