Skip to main content

A simple module for making HTML GUI applications with python3

Project description

GUY is a py3 module, which let you quickly release a GUI (html/js) for yours python (>=3.5) scripts, targetting any platforms ... and android too.

A simple guy's app code, could be :

from guy import Guy

class Simple(Guy):
    """<button onclick="self.test()">test</button>"""

    async def test(self):
        print("Your name is", await self.js.prompt("What's your name ?") )

if __name__ == "__main__":
    app=Simple()
    app.run()

A guy's app can be runned in 3 modes :

  • can reuse a chrome browser (in app mode), on the host. To keep the minimal footprint. (app mode)
  • can embbed its CEF (like electron) (thanks cefpython3), to provide all, to the users. (cef mode)
  • can act as a classical web server. Any browser can be a client (server mode)

A guy's app can be released as :

  • a simple py3 file, with only guy dependancy (app mode & server mode)), or with guy+cefpython3 dependancies (cef mode))
  • a freezed executable (pyinstaller compliant) (all modes)
  • a pip/package app (all modes)
  • an apk for android (with buildozer/kivy) (app mode only)

Read the Guy's DOCUMENTATION !

Available on :

Here is a demo (sources), of a simple guy's app (server mode).

Here is a demo (sources), of a guy's app serving a vuejs/sfc UI.

Here is a simple guy's app (app mode):

On Ubuntu
On Android10

Join the chat at https://gitter.im/guy-python/community

Project details


Download files

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

Source Distribution

guy-0.7.1.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

guy-0.7.1-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page