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()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qtap-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qtap-0.1.2-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file qtap-0.1.2.tar.gz.

File metadata

  • Download URL: qtap-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for qtap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 32a7404f042b1f6868e582c2871787899f626daa6e840b4471b87aa531aaa148
MD5 73106fc35345ac5a2a48bc2d1d442b17
BLAKE2b-256 4c0a734b0e6587b926630643bbbe9b29c4e6966e47583c2166b074c10377c9dc

See more details on using hashes here.

File details

Details for the file qtap-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qtap-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for qtap-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8df9e176c7a497c5c34043d9ff3f33b4fc51c5761bee53127de6e00cb0a894d
MD5 ee2ccb0fcafc53e6af08fa4dd5ac6ce8
BLAKE2b-256 1f3473011418c2847e506ab16716acccaa78d65bc2faea8df07bd38e42668cf0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page