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 |
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.
Metadata
Release files for guy 0.7.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| guy-0.7.6.tar.gz | 22.9 kB | Without provenance | Details for guy-0.7.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| guy-0.7.6-py3-none-any.whl | Python 3 | none | any | Details for guy-0.7.6-py3-none-any.whl |
Total release size: 44.8 kB
Release files / guy-0.7.6.tar.gz
| Download URL | guy-0.7.6.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fff6b82a9523c5b0ad6906fc074cbf93689f999412f38d12df7b0de4841ed0b
|
|
BLAKE2b-256 checksum How to use checksums |
8d5fba20182f5a05581187912e2ab42d1c04e0705dc3ccd407c5ba52b02f0bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.5 Linux/5.4.0-48-generic
|
Release files / guy-0.7.6-py3-none-any.whl
| Download URL | guy-0.7.6-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8848b830697b337a78cffe829289c1d5e0d9f5863b7d4580eaa9e6b0e3070740
|
|
BLAKE2b-256 checksum How to use checksums |
aed6582c9b51587a22fcb22fd1216d09340869df5d8e71b14882d883dbfffe44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.5 Linux/5.4.0-48-generic
|
Security for guy 0.7.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.