{"id":20910512,"url":"https://github.com/ziteh/python-tk-mvp","last_synced_at":"2026-05-21T12:10:02.897Z","repository":{"id":237962348,"uuid":"795539132","full_name":"ziteh/python-tk-mvp","owner":"ziteh","description":"MVP pattern in Python Tkinter","archived":false,"fork":false,"pushed_at":"2024-05-17T13:01:28.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T21:01:52.153Z","etag":null,"topics":["gui","mvp","python","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziteh.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":"2024-05-03T13:53:32.000Z","updated_at":"2024-05-17T13:01:32.000Z","dependencies_parsed_at":"2024-11-18T14:16:04.917Z","dependency_job_id":"eb6bbb39-c018-4e80-8cf9-4116fd4028b1","html_url":"https://github.com/ziteh/python-tk-mvp","commit_stats":null,"previous_names":["ziteh/python-tk-mvp"],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fpython-tk-mvp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fpython-tk-mvp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fpython-tk-mvp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Fpython-tk-mvp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziteh","download_url":"https://codeload.github.com/ziteh/python-tk-mvp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243302650,"owners_count":20269539,"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","mvp","python","tkinter"],"created_at":"2024-11-18T14:15:36.364Z","updated_at":"2025-12-25T13:25:30.401Z","avatar_url":"https://github.com/ziteh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Tkinter MVP\n\nAn example of MVP (Model-View-Presenter) pattern implementation with Python [Tkinter](https://docs.python.org/3/library/tkinter.html).\n\n## Usage\n\n```bash\npython main.py\n```\n\n## UML Class Diagram\n\n```mermaid\n---\ntitle: Tk MVP\n---\nclassDiagram\n    direction TB\n\n    class PresenterInterface {\n        \u003c\u003cinterface\u003e\u003e\n        on_click()\n        on_select(float)\n    }\n    class Presenter {\n        model: Model\n        view: ViewInterface\n        Presenter(Model, ViewInterface)\n        on_click()\n        on_select(float)\n    }\n\n    class ViewInterface {\n        \u003c\u003cinterface\u003e\u003e\n        setup(PresenterInterface)\n        set_value(float)\n        get_value() float\n    }\n    class View {\n        root: tk.Tk\n        presenter: PresenterInterface\n        View(tk.Tk)\n        setup(PresenterInterface)\n        set_value(float)\n        get_value() float \n    }\n\n    class Model {\n        data: float\n        set_data(float)\n        get_data() float\n    }\n\n    PresenterInterface \u003c.. View : Use\n    ViewInterface \u003c|.. View : Implementation\n    ViewInterface \u003c.. Presenter : Use\n    PresenterInterface \u003c.. ViewInterface : Use\n    PresenterInterface \u003c|.. Presenter : Implementation\n    Model --o Presenter : Aggregation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Fpython-tk-mvp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziteh%2Fpython-tk-mvp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Fpython-tk-mvp/lists"}