Metadata-Version: 2.1
Name: qtap
Version: 0.1.2
Summary: Automatic Qt parameter entry widgets using function signatures 
Home-page: https://github.com/kushalkolar/qtap
Author: Kushal Kolar
Author-email: kushalkolar@alumni.ubc.ca
License: GPL v3.0
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown

## Automatic Qt parameter entry widgets using function signatures
[![PyPI version](https://badge.fury.io/py/qtap.svg)](https://badge.fury.io/py/qtap) [![Downloads](https://pepy.tech/badge/qtap)](https://pepy.tech/project/qtap) [![Documentation Status](https://readthedocs.org/projects/qtap/badge/?version=latest)](https://qtap.readthedocs.io/en/latest/?badge=latest)

**Install using pip:** ``pip install qtap``

### Basic usage:

```python

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



