from gui_decorator import gui
@gui(title="The Title",
width=600,
height=400,
input_filter=[("Excel files", ".xlsx")],
output_filter=[("Excel files", ".xlsx"))])
def foo(input_path, output_path):
# use `yield` to send logs to the GUI
yield f"Got input_path: {input_path}"
yield f"Got output_path: {output_path}"
foo()
Decorator gui treats function foo as a generator and fetches logs from foo to its logging box. The wrapped function must include at least one yield to be treated as a generator.
Metadata
Release files for gui-decorator 0.0.2
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 |
|---|---|---|---|---|
| gui_decorator-0.0.2.tar.gz | 3.7 kB | Without provenance | Details for gui_decorator-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gui_decorator-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for gui_decorator-0.0.2-py3-none-any.whl |
Total release size: 7.2 kB
Release files / gui_decorator-0.0.2.tar.gz
| Download URL | gui_decorator-0.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b21ff18a3a777d4eeda8b59314d5b144311db3294455e41e27aa872df133f98e
|
|
BLAKE2b-256 checksum How to use checksums |
e503c089ee04a70f756bdb7537ab65ab16a9882bab82f8e50371235daf4f3695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|
Release files / gui_decorator-0.0.2-py3-none-any.whl
| Download URL | gui_decorator-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97c1c0c37b5e9bd9a0a5cb7eec2aec05f4eb0725878a563b0c988c1875f2942b
|
|
BLAKE2b-256 checksum How to use checksums |
db2c97fe223f34732c13a6472ea29f434e071ab27e24c696c3a0377d8fbbb836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|
Security for gui-decorator 0.0.2
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.