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

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.5.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

guy-0.5.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file guy-0.5.1.tar.gz.

File metadata

  • Download URL: guy-0.5.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.5 Linux/4.15.0-72-generic

File hashes

Hashes for guy-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3ed88a713c51236f1f2fd8ce236465e943eaf31be39efd1a892486423cee739b
MD5 ba6f9841a4d7fda7a5c54d94432ef852
BLAKE2b-256 9efef93554bb5a35f13d93639efb5d97a367048e42981ab91489d5667c324583

See more details on using hashes here.

File details

Details for the file guy-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: guy-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.5 Linux/4.15.0-72-generic

File hashes

Hashes for guy-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88819b9f0bb287c8c1d7fe4aa68b8a3eefaa60085a74719fd62fcf495eb3cf79
MD5 69a0a0a2819b3072620dd74d5efd6250
BLAKE2b-256 a105306b6011a08fd3467dc979da036a17e7c2abc4c3e963b33bbba3f812ae6e

See more details on using hashes here.

Supported by

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