Metadata-Version: 2.1
Name: guify
Version: 0.2.14
Summary: A tool that will GUI-ify your functions
Author: Michael Druyan
Author-email: michael@druyan.net
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: bottle (==0.12.25)
Requires-Dist: bottle-websocket (==0.2.9)
Requires-Dist: eel (==0.16.0)
Requires-Dist: gevent-websocket (==0.10.1)
Requires-Dist: pycparser (==2.21)
Requires-Dist: pymsgbox (==1.0.9)
Requires-Dist: whichcraft (==0.6.1)
Requires-Dist: zope.event (==4.6)
Requires-Dist: greenlet (==2.0.2) ; platform_python_implementation == "CPython"
Requires-Dist: cffi (==1.15.1) ; platform_python_implementation == "CPython" and sys_platform == "win32"
Requires-Dist: pyparsing (==3.0.9) ; python_full_version >= "3.6.8"
Requires-Dist: future (==0.18.3) ; python_version >= "2.6" and python_version not in "3.0, 3.1, 3.2, 3.3"
Requires-Dist: gevent (==22.10.2) ; python_version >= "2.7" and python_version not in "3.0, 3.1, 3.2, 3.3, 3.4, 3.5"
Requires-Dist: setuptools (==67.7.2) ; python_version >= "3.7"
Requires-Dist: zope.interface (==6.0) ; python_version >= "3.7"

# GUIfy

![PyPI_version](https://img.shields.io/pypi/v/guify?style=for-the-badge)

![PyPI_downloads](https://img.shields.io/pypi/dm/guify?style=for-the-badge)

![PyPI_wheel](https://img.shields.io/pypi/wheel/guify?style=for-the-badge)

Simplest form of GUI for automation scripts.

Made with eel as python backend and react used as frontend.

## **[For Quick Start docs click here](../README.md)**

## Main tab

![main tab](./images/main_tab.png)

## Config tab

![config tab](./images/config_tab.png)

# Running the source code

Since we're using react, there's a custom script [run_debug.py](../run_debug.py) to run the eel backend so it does not conflict with the react dev server port.

If you're working on the frontend use

```bash
npm run start
```

This will start react dev server and run python too in same terminal instance.

If you're working on the python side, it is recommended to run the code in 2 seperate terminals:

```bash
# In first terminal
npm run start:js

# In second terminal
npm run start:guify # or "py ./run_debug.py"
```

This is because unlike React, python won't restart eel session on change of the guify source, so you'd end up restarting python a lot.

# Building

To build the package (wheel and source) in dist folder, run the following:

`npm run build`
