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

If you want to build guy app, without any html/js/css knowlegments, you can try gtag : it's a guy sub module which let you build GUI/GUY app in more classical/python3 way.

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.5.tar.gz (22.7 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.7.5-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guy-0.7.5.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-39-generic

File hashes

Hashes for guy-0.7.5.tar.gz
Algorithm Hash digest
SHA256 33d263f6452a49703c99022b072a4f5f03b67f81166125487fceb0c4daf27afa
MD5 d0b3c9bfee7cf6915efc6d54a2e6fdea
BLAKE2b-256 3a5fbfd2e385b6447d2c050da5ae80cebd1b9bffd2c7661d067336f7293956bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: guy-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-39-generic

File hashes

Hashes for guy-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 790e36df275e2c449694214bc5dcf146e1a2f1cb5a57ae1c0fdc2ca69bd5388e
MD5 3ecd65572b09cce4e432568fc5a4903f
BLAKE2b-256 4433e9b95220d0fa129eead3ed8801bb2e21c5a13354ccb53b0fa89d9822fb35

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