{"id":24325709,"url":"https://github.com/offerrall/functogui","last_synced_at":"2025-04-24T03:45:34.666Z","repository":{"id":271320970,"uuid":"911679291","full_name":"offerrall/FuncToGUI","owner":"offerrall","description":"Easily turn your Python functions into GUI applications","archived":false,"fork":false,"pushed_at":"2025-02-25T14:54:50.000Z","size":1431,"stargazers_count":69,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-24T03:45:27.971Z","etag":null,"topics":["gui","kivy","python","typer","ui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/offerrall.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-03T15:34:24.000Z","updated_at":"2025-04-11T14:53:41.000Z","dependencies_parsed_at":"2025-01-26T05:10:56.189Z","dependency_job_id":"569084c0-c96c-4469-b33e-497b3bab6d4f","html_url":"https://github.com/offerrall/FuncToGUI","commit_stats":null,"previous_names":["offerrall/functogui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FFuncToGUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FFuncToGUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FFuncToGUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FFuncToGUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offerrall","download_url":"https://codeload.github.com/offerrall/FuncToGUI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250559994,"owners_count":21450168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","kivy","python","typer","ui"],"created_at":"2025-01-17T20:18:57.400Z","updated_at":"2025-04-24T03:45:34.631Z","avatar_url":"https://github.com/offerrall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c/div\u003e\n\u003cimg src=\"./example.png\"\u003e\n\u003c/div\u003e\n\n**Easily turn your Python functions into GUI applications.**  \nPerfect for internal tools, quick testing, or prototypes. FuncToGUI is cross-platform, updates in real-time, and requires no additional UI code. Implemented in 1500 lines of code!\n\nFuncToGUI is built on top of [Kivy](https://kivy.org/) and [pyler](https://github.com/kivy/plyer) for file handling.\n\n## Quick Start\nNormal function (no data limits):\n```python\nfrom functogui import App\n\ndef is_even(number: int = 4) -\u003e bool:\n    return number % 2 == 0\n\nApp(is_even)\n```\n\nFunction with UI types (limits the input data):\n```python\nfrom functogui import App, intUi, intReturn\nfrom typing import Annotated\n\ndef time_to_seconds(hours: Annotated[int, intUi(max_value=24)] = 1,\n                    minutes: Annotated[int, intUi(max_value=59)] = 30\n                    ) -\u003e int:\n    \n    return (hours * 3600) + (minutes * 60)\n\nApp(time_to_seconds)\n```\n\n## Key Features\n- **Function-to-GUI Transformation**: Turn your function parameters into a GUI interface with minimal setup.\n- **No Complex Configuration**: Just define your function with the desired [`ui_types`](./functogui/core/ui_types.py) and let FuncToGUI generate the window.\n- **Supports Various Parameter Types**:\n  - `intUi` \n  - `boolUi`\n  - `strUi`\n  - `passwordUi`\n  - `listUi`\n  - `selectedUi`\n  - `floatUi`\n  - `fileUi`\n  - `folderUi`\n  - `colorUi`\n  - `timeUi`\n  - `dateUi`\n- **Supports Various Return Types**:\n    - `boolReturn`\n    - `intReturn`\n    - `strReturn`\n    - `floatReturn`\n    - `imageFileReturn`\n- **Error Handling**: FuncToGUI treats the exceptions already for you.\n\n##  Installation\n```bash\ngit clone https://github.com/offerrall/FuncToGUI\ncd FuncToGUI\n\npip install .\n```\n\n## How to Use\nThis library is designed to be as simple as possible. You only need look at the examples to understand how to use it.\n- [Examples](./examples)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Ffunctogui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofferrall%2Ffunctogui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Ffunctogui/lists"}