Automatic Qt parameter entry widgets using function signatures
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)
| File | Size | Uploaded | |
|---|---|---|---|
| qtap-0.1.2.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|